Search
 Search
GET THE HOTEST NEWS ABOUT VISUAL WEBGUI.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 

 

SAP has chosen Visual WebGui for strategic web application, Mr. Saar of SAP explains why in an interview with with Jeremy Geelan at AJAX World.

Click on the video image to watch

SAP chosen VWG for strategic web application

SearchForum Home
  General Visual WebGui® Forums  How do I...?  What am I missi...
 What am I missing... (web.config help)
 
 3/29/2008 7:36:41 PM
FlyingFishStix
2 posts


What am I missing... (web.config help)

First, this product is the best thing since sliced bread.  It seems to address every pain point we'd had over the years...we can actaully enjoy developing again.   So, obviously I'm eager to take it for a test spin.

Issue:  My page is not showing up due to a debug.config message.  My end result: I can't load Form1.wgx (IE just comes up with a blank page).

My steps:
1) Installed the 3.5 runtime - download from here > http://www.visualwebgui.com/GetStarted/tabid/357/Default.aspx
2) In VS2008, created a new "Visual WebGUI Application"
3) Dropped a button on the form and coded a "hello world" popup messagebox
4) Clicked Build. Build succeeded
5) On the Properties page, went into the Web tab,  selected 'Specific Page' and entered Form1.wgx
6) Hit F5 to run...a msgbox asked me "do you want to add a new Web.config?" , I clicked OK.
7) I imediately receive a msgbox error: Title=Microsoft Visual Studio. Message="The operation could not be completed. Unspecified error."...then I click ok to make it go away.  App cancels the F5 (run) command and I'm back at the property page
8) I try running it again with out debug (ctrl-F5).  IE loads this address: http://localhost:6385/Form1.wgx with a message saying IE cannot load this page.  (it can't find it. ie. blank page.)
9) Checked the web.config file.   It seems to be correct. (eg):
<Applications>
<
Application Code="Form1" Type="WebGUITest1.Form1, WebGUITest1"/>
</
Applications>So my issue I think is with that web.config popup demanding to add a 'web.config' file (eventhough i ALREADY have one). It somehow doesn't see it?

I'm sure it's something simple.  I watched this video (http://www.visualwebgui.com/tutorials/how_to_create_a_new_visual_webgui_application.html ), but the web.config popup never showed up for him.

 

 Any thoughts would be appreciated.  Thanks! 

(config aside....I still can't believe how great of a product this is!!  All of the multi-billion dollars assets of microsoft couldn't figure this out...and you guys did!  You guys might change the web more than Silverlight + ASP.NET combinded.)

Cheers,
Mike

 3/30/2008 5:19:59 PM
itzik.spitzen
1405 posts
1st


Re: What am I missing... (web.config help)

Hi Mike,

Firstly, thanks for the worm words :))) We really believe we bring something special to the table...

Regarding your problem, some extra info:

1. What IE version are you using?
2. Did you have any previous VWG SDK version installed in the past?
3. Are you working on windows 2003 server? If you do can you say whether the "Active Scripting" is enabled in your IE configuration?
4. Are you programming VB.NET or C#?

Anyway, no matter what will be the answers to the questions above, try changing the “PrivateVersion” value within the web.config to a new number, and see that all the specified gizmox assemblies within the web.config file version is: 3.0.5701.0 and not 2.0.5701.0.

Regards,
Itzik Spitzen

 4/1/2008 2:59:09 AM
FlyingFishStix
2 posts


Re: What am I missing... (web.config help) ...simply close and reopen VS2008
Thanks Itzik for the fast reply.  I'll reply to your devs and anyone else that may have this problem.

Short story (after testing of all variables I could think of):
  • I simply have to CLOSE VS2008,
  • reload VS2008
  • open the project, and it works like a charm after that! 
  • (Even after adding further controls & code.)

Notes:
  • I'm running IE8 Beta, XP-Pro-SP2, VS2008, and writing both in C# and VB
  • changing the “PrivateVersion” value in web.config makes no difference
  • For you and the community, I have tested this with all combinations of IE8, IE8withIE7Emulation, Firefox, VB & C#
  • The ONLY thing that works for me is to CLOSE VS2008 and reopen the project.  From then on, it works like a charm
  • Perharps IE8Beta is doing that funny debug message popup, but DONT click OK or it will scramble your web.config file and it will NOT work after that. 
  • If you need, I can post the before and after web.config files (if i click ok to that message)
  • For Visual WebGUI devs, I would recommend that you install IE8Beta on a virtual machine to see if it causes you any grief.
Let me know if I can answer any more questions to help this great product along.
(p.s. nice rich-textbox control. Even ctrl-b worked ...on a webpage)

Cheers,
Mike
 4/2/2008 12:43:18 PM
itzik.spitzen
1405 posts
1st


Re: What am I missing... (web.config help) ...simply close and reopen VS2008

Hi Mike,

Thanks for the detailed information...

We will install IE8 Beta soon in order to verify compatibility; However, without IE8 installed (which I'm not so sure how can it possibly affect server side configurations and execution although you can never know :), we could not reproduce this issue. It's a wired behavior what you are describing here and on a very basic scenario...

Are you capable of executing a standard ASP.NET application using VS2008?

You web.config file could not contain erroneous data since all you did was create a very simple form with a button on it...

Thanks,
Itzik Spitzen

 10/24/2008 4:52:21 PM
SlickRick
5 posts


Re: What am I missing... (web.config help) ...simply close and reopen VS2008

I think i know what is wrong, i had this error before.

The problem is when you create a project it is created in a temp folder in which you have limited permission (VS won't allow you to save any project to this folder)

So what you need to do when creating a project:

-Create a new WebGUI project

-After the project is loaded go to file->Save all

-Select where to save your project

-After the project is saved close Visual Studio

-Go to the folder where you save the project and then run the .sln of you project.

 

Then everything *should* be running like expected

 

 

I hope this help. (even if it's been a while since you posted this problem)

  General Visual WebGui® Forums  How do I...?  What am I missi...

Visual Studop Partners

Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox