Hi,
I downloaded the Profession Studio Visual WebGUI version 6.3.14 (VWG_Professional_Studio_6.3.14_NET3.5.zip) and installed it with no problems. Being a VB6 programmer for years, I was very excited to see out this product works. However, I can't get anything to run. Here are the details:
- XP Professional
- Microsoft VS 2008 Professional
- Visual WebGui 6.3.14 (evaluatoin license)
- Internet Explorer 8.0
- In VS 2008, Create New Project / Visual WebGui Application (language=vb)
- Right Click on Form1.vb and choose Set as Start Form
- Double Click on Form1.vb and add a Visual WebGui button
- Save the project
- Press F5 to run the project
- The "Debugging Not Enabled" dialogue box comes up indicating debug mode is not enabled.
- I cancel the build, check web.config and find that it is enabled.
- Press F5 again, and this time I choose the "Add a new Web.config file with debugging enabled" option, click OK and I get "The operation could not be completed. Unspecified error"
- I press F5 again, get the "Debugging Not Enabled" error again, but this time I choose "Run without debugging".
- Internet Explorer (8.0) opens with the following HTTP 404 error.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Form1.wgx
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
- I tried setting the references to the 3 Visual WebGUI dll's (Common, Forms, Server) "Copy To Local" value = True.
- I have 4 warnings that the directory 'Resources\Icons/Images/Generated/UserData does not exist. These are defined in web.config and I assume I can ignore these.
- Also, when open the web.config file, I get 30 messages about not being able to find schema information for various elements (WebGUI, Applications, Application...)
- I've uninstalled and reinstalled several times.
-
I've tried editting IIS (5.1) and adding the .wgx extension to the Application Configuration.
I searched this forum all day and no matter what I try, I can't get this simple project to run. Any ideas? I'd love to get my hands dirty with this, but can't figure out what I'm doing wrong. Admittedly, I don't have a lot of experience with VS.NET, but I've never had trouble like this using other 3rd party tools with VS.NET.
Thanks, Kerry
Follow Up: I tried to do the same using C# instead of VB. Had the same expreience. However, when I reloaded the above vb project, it worked exactly as expected. No errors whatsoever! Seems like some folder entry somewhere was not right. I say this because during one of my many attempts, I tried runing the new project without saving first. VS prompted me to save first, stopping the current debugging session. After saving, I would try to run the project again and IE would then tell me the directory did not exist, referencing a "Temporary Projects" folder in my Local Settings. Apparently that was the entire problem. I've modified, saved and reloaded the project several times and all is well.
Follow Up 2: After thinking about this some more, I realized this has to have something to do with my configuration. Found that the VS option under "Projects and Solutions/General/Save new projects when created" was not checked. I checked that option, created a new project and everything worked fine. I'm off and running now. Thanks for listening.