 | SearchForum Home |  |
 | |  |
 | |  |
 | |  |
 | |  |
 |
|
|
| VWG 6.0.4 + Silverlight Error |
|
|
Hello guys,
I've successfully build and run my project using vwg 6.0.4. When I build to use the SL extension, some how it built with no error, while when I try to log on, I couldn't log on. Strangely, when I change the application to standard vwg appl. (using .wgx) it works.
Any idea ?
Thomas
Most of time I've got this error: System.Exception: Input string was not in a correct format. at Gizmox.WebGUI.Silverlight.State.Session.HandleResponse(XmlReader objXmlReader, Boolean blnUpdate) at Gizmox.WebGUI.Silverlight.State.Session.RaiseEventsEnd(IAsyncResult objResults) at Gizmox.WebGUI.Silverlight.State.Proxy.ProcessResponse(IAsyncResult objResult) http://tjrenk.multiply.com
http://album.ipeka.net |
|
|
|
 |  |
|
|
| Re: VWG 6.0.4 + Silverlight Error |
|
|
Hi,
Because Microsoft made some massive changes in Silverlight 2 beta 2,
Visual WebGui Silverlight will never work with version 6.0.4.
You have to use version 6.1 or more.
I recommend version 6.1.2.
Thanks,
Noam
|
|
|
|
 |  |
|
|
| Re: VWG 6.0.4 + Silverlight Error |
|
|
Hello Noam,
I've download and install all the required package fo building silverlight application (vwg ver.6.1.2). I also follow the step by step of converting vwg application to vwg+silverlight application (modifying web.config file)
The build process was fine, but when I tried to add the required assembly (using vwg sl packager) I'v never succeed. I've got this error message:
Could not create application package: Error: System.Exception: Invalid file path has been inputed. at Gismox.WebGUI.......and so on.
If I hit cancel, then the browser loaded up and ended with error: Unhandled error in Silverlight 2 Application The type initializer for : Gizmox.WebGUI.Silverlight.ThemeManager threw an exception. at Gizmox.WebGUI.Silverlight.ThemeManager.ApplyTheme .... and so on.. Code: 0
I just have no idea of what have I missed here.
Thomas Thanks http://tjrenk.multiply.com
http://album.ipeka.net |
|
|
|
 |  |
|
|
| Re: VWG 6.0.4 + Silverlight Error |
|
|
Hi,
This is not enough information for me to know whats wrong.
First, open a new silverlight application and check if you can create a new working application.
If you can , start and compare the references and web config file.
If it want work you will have to send me a sample application.
Keep me informed.
Thanks,
Noam
|
|
|
|
 |  |
|
|
| Re: VWG 6.0.4 + Silverlight Error |
|
|
Same problem here.
I just installed 6.1.2 on WinXP Pro SP2 with VS2005.
I created a new VWG Silverlight Application from the template, dropped a button on the form, added a simple Messagebox.Show for the button click. I edited the project web settings so that Form1.swgx is the start form. Business as usual so far.
When I try to run and debug the application from VS2005 (no IIS), thw browser does not show anything, and a window opens (Visual WebGui Silverlight Packager). No matter what I try to do in this window, I get the error
---------------------------
---------------------------
Could not create the application package.
Error:
System.Exception: Invalid file path has beed inputed.
bei Gizmox.WebGUI.Deployment.FileManipulation.FileElement..ctor(String strFilePath)
bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateFileElementList(Package objPackage)
bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateXapFile(Package objPackage)
bei Gizmox.WebGUI.Silverlight.Packaging.Packager.GenerateXapFiles()
bei Gizmox.WebGUI.Silverlight.Packaging.Packager.Save()
bei Gizmox.WebGUI.Silverlight.Packaging.MainForm.mobjButtonOK_Click(Object sender, EventArgs e)
bei System.Windows.Forms.Control.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnClick(EventArgs e)
bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---------------------------
OK
---------------------------
All I can do is select "Cancel" to avoid this error. Nevertheless, the browser remains blank.
Bernhard |
|
|
|
|  |
 | |  |
 | |  |
 | |  |
|