Forum  General Visual ...  Let's Chat Abou...  Using GoDaddy.com as a web hosting site? Any success?
Previous Previous
 
Next Next
New Post 2/27/2010 7:58 PM
  kenn.minear
373 posts
3rd Level Poster


Re: Using GoDaddy.com as a web hosting site? Any success? 

 Hi Gizmox,

This is obviously not a technical issue, but a marketing issue.... hiow do I respond when a provider (such as GoDaddy) state that they do not support a VWG application (when I know the can)?

Regards, Kenn

 


kenn@kennware.com
 
New Post 3/12/2010 11:06 AM
  palli
11189 posts
1st Level Poster




Re: Using GoDaddy.com as a web hosting site? Any success? 

Hi Kenn,

Please don't take this as an official statement from Gizmox for the time being at least, but from my point of view, then Danny (osmosis) is our best proof that GoDaddy does indeed support Visual WebGui.

If I were having this conversation, I would simply ask GoDaddy representative to explain what exactly of Visual Webgui deployed with an .ASHX extension (for example) they do not support. That would give us something to communicate about, and in worst case scenario then to know where the problem is with GoDaddy and Visual WebGui.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/18/2010 7:14 AM
  kenn.minear
373 posts
3rd Level Poster


Re: Using GoDaddy.com as a web hosting site? Any success? 
Modified By kenn.minear  on 3/18/2010 9:29:54 AM)

 Hello,

I have setup a web hosting account with GoDaddy and implemented my VWG app using the .ashx extension.  No problems with installation.  My problem now is that my custom events are not firing (or not being listened to) on the hosting server, while they work fine on my local IIS server.  Trying to research this, but debugging on a remote server is difficult if I cannot replicate the problem on my local server.

In my web.config file I have the following two entries for the .ashx extenstion:

<WebGUI>

<Extension Value=".ashx"/>

</WebGUI>

and

<system.webServer>

<add name="WebGUIServer" verb="*" path="*.ashx" type="Gizmox.WebGUI.Server.Router,Gizmox.WebGUI.Server,Version=3.0.5701.0,Culture=neutral,PublicKeyToken=3de6eb684226c24d"/>

</system.webServer>

Anything else needs to be in web.config for the ashx extension?

Bottom line, Palli is correct, you should be able to run VWG on any hosting site that supports ASP.NET runtime.  I hope to have a "duh" moment soon that resolve my problems.  Also, I call urlmon.dll in my gateway and I get a permission error, that should be somewhat easier to resolve.

Regards, Kenn

 


kenn@kennware.com
 
New Post 3/18/2010 2:55 PM
  palli
11189 posts
1st Level Poster




Re: Using GoDaddy.com as a web hosting site? Any success? 

Hi Kenn,

I think you have got all the necessary changes in web.config. For reference you can find the article I wrote on this linked on the Wiki deployment page.

Regarding the usage of urlmon, the reason for the security exceptions might be related to the fact that it's unmanaged code if I am not mistaken. I'm not sure if it will get you past security exceptions, but on the Gateway wiki page, there  is a link to a solution to read the Mime type from registry. I think it's worth the try to see if you can access it, as that is in general a much better way. The best way in my opinion, if possible is reading it from the client itself, as that is the party that will be using it eventually, handling it in the browser. I haven't even checked, but it is possible to access the registry via JavaScript, it should be relatively trivial to create a custom control to access the information.

I really hope you get a "duh" moment soon, and hope you will let us know the solution when you do.

You might want to try activatiing the Visual WebGui debug window to see if the events do get fired clientside and just not recognized server side. Maybe it will help diagnosing the problem.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 3/19/2010 7:39 AM
  kenn.minear
373 posts
3rd Level Poster


Re: Using GoDaddy.com as a web hosting site? Any success? 
Modified By kenn.minear  on 3/19/2010 1:17:22 PM)

 Hi Palli,

The good news is that VWG is running without a hitch on GoDaddy, my problems are not VWG related (I think), so I wouldn't hesitate to advise anyone that any hosted environment that supports ASP.NET should also support VWG.

Your correct about not being able to execute unmanaged code without running in Full Trust mode.  Unfortunately, it is unlikely that any host would let you run in that mode.  In my case, I know that the only content I will be passing to my Gateway (at least in this app) will be a PDF report, so I was able to statically set the mime type to "application/pdf", that got me around the security problem.

My other problem is adding a user control, VWG  just hangs in my hosted environment,  not much code here:

 

            kwSched2.UIControls.TestLogon _testLogon = new kwSched2.UIControls.TestLogon();

            contentTab.addContent(_testLogon);

where contentTab is inherited from a tab control. 
 
The addContent method is:
 
               TabPage tabPageNew = new Gizmox.WebGUI.Forms.TabPage();
                tabPageNew.Controls.Add(uControl);
                tabPageNew.Controls[0].Dock = DockStyle.Fill;
                this.Controls.Add(tabPageNew);

 

Again works fine in my local IIS environment but hangs up on GoDaddy.  I just get the busy icon for an indeterminate length of time.

I use log4net for logging, but for some reason the logs are not being written to my Logs directory on the host (works fine in my local IIS).  This doesn't help in debugging.

My other problem about custom events not being raised or listened to, I created another thread here:

www.visualwebgui.com/Developers/Forums/tabid/364/forumid/-1/threadid/37426/scope/posts/Default.aspx

Thank you and the community for all your help,

Oh, quick question, what is the purpose of VisualWebGuiMap entry in the config file?  I noticed it is set for wgx extension, .Net version 2.0 and classic pool (my app is running in the integrated pool).  I'm sure this has no effect but was just wondering what the entry was for.

Regards, Kenn

 

 


kenn@kennware.com
 
Previous Previous
 
Next Next
  Forum  General Visual ...  Let's Chat Abou...  Using GoDaddy.com as a web hosting site? Any success?
Assessment Bottom
.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