Forum  General Visual ...  Install It!  Please . . . What am I doing wrong???
Previous Previous
 
Next Next
New Post 3/6/2010 9:42 AM
  julianhorn
4 posts
No Ranking


Please . . . What am I doing wrong??? 

I have been battling for 3 days now to get a small application running on a server. The application is a simple 2 form app with one being shown as a dialogue where you can select options from a drop down and checkboxes and pass values back to the calling form. It runs perfectly on VS2008 SP1 on Windows 7 Pro.

I have access to two servers both of which are happily running several different DNN sites. I am used to playing with IIS (I think).

My first attempts were to get it running on on a 64bit Server 2008 IIS7. I followed all the steps I could find but nothing worked - all I would ever get is a 404 Page not found or occasionally a failed to parse a URL.

 In the end I gave up and tried it on a 32 Bit Server 2003 with IIS6.

Now when I visit the URL all I get is a blank page see http://www.midnorfolknews.co.uk/mainform.wgx there is loads of page source but no content. I have tried everything - even to stripping and reinstalling VS2008 and the latest VWGUI Beta but always the same result. I have unticked the box for check file added the .wgx handler mapping rebooted the server a dozen times but still no go.

What am I doing wrong? I really want to buy this as it is ideal for a project I am undertaking but it is just too difficult to get running right.

 
New Post 3/6/2010 3:20 PM
  jayhobbs
1644 posts
1st Level Poster




Re: Please . . . What am I doing wrong??? 

Hi Julian,

Welcom to Visual WebGui

In general it is much easier to use .ASHX rather than the default .WGX

There is an excellent article by Palli which shows how

http://www.visualwebgui.com/Developers/Resources/Tutorials/tabid/365/articleType/ArticleView/articleId/548/Deployment-of-DHTML-Visual-WebGui-application-with-different-extension-than-the-standard-WGX.aspx

I am not clear how your virtual directory is set up as http://www.midnorfolknews.co.uk seems to point to the same IP as 2 other web sites that work.

What you should try is creating a simple ASPX web page, deploy it to your web server and check that works.

If you need more info on Virtual Directories in IIS see

http://www.startvbdotnet.com/aspsite/extras/virtualdirectory.aspx

In the Virtual Directory you must have a web.config and the bin directory with the correct permissions set.

Make sure you have set Copy Local to True for the Gizmox DLL's on your development PC and then you can FTP the directory to the web server.

Please make sure you increment the PrivateVersion each time to make any changes to web.config

I hope this helps

Jay

 
New Post 3/7/2010 12:23 PM
  julianhorn
4 posts
No Ranking


Re: Please . . . What am I doing wrong??? 
Modified By julianhorn  on 3/7/2010 3:25:34 PM)

Hi Jay, thanks for your input on this.

I ought to explain I have the luxury that both servers are dedicated and so I have remote desktop to them. The sites live on a data drive rather than the Windows install drive and the machine I am using at the moment runs 10 or so (low useage) sites (mostly DNN) on the same IP

I have followed the instructions and built to a .ashx extension so the first URL I quoted will not NOT now work as the page is on www.midnorfolknews.co.uk/MainForm.ashx
Unfortunately I have got the same result - a blank page!

Also checked that the dll's are being copied etc. also incremented the PrivateVersion just to be sure.

I have put in the same directory a simple .aspx which is at www.midnorfolknews.co.uk/Default.aspx and that works fine.

The page source looks (to me anyway) like sensible stuff and it seems strange to me at least partial functionality is working in that I get a "Are sure you want to navigate away" prompt if I refresh or close IE - so I am guessing that some of the javascript is being referenced, loaded and working OK.

Can you think of anything else I can try please?

 
New Post 3/7/2010 3:07 PM
  jayhobbs
1644 posts
1st Level Poster




Re: Please . . . What am I doing wrong??? 

Hi Julian,

What happens if you point your browser to http://localhost/"VirtualDirectoryName"/MainForm.ashx? on rhe server

Jay

 

 

 

 

 
New Post 3/8/2010 12:07 AM
  julianhorn
4 posts
No Ranking


Re: Please . . . What am I doing wrong??? 

Hi Jay,

Same result

I have also moved the whole of the site to reside in C:\Inetpub\Www_root and I am getting exactly the same results.

I thought for a second that I might have stumbled on the issue - every time I published from VS2008 there was no webconfig in the publish folder. I had seen mention of that in the forums so just copied the file from the project folder on my machine.
I discoverd, when moving to the wwwroot, that VS2008 had been putting the webconfig in the bin folder!  But even when I moved it out to the root it didn't make any difference.

If it would help, I can provide you with a login to the server to have a look at the setup yourself? I know this must be my stupidity but for the life of me I cant see what I have done wrong.

Thanks for all the help I am getting.

Julian

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Install It!  Please . . . What am I doing wrong???
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS