Forum  General Visual ...  How do I...?  How to Setup and Deploy Simple VisualwebGui application
Previous Previous
 
Next Next
New Post 11/5/2007 3:13 AM
  Maheshvd
13 posts
No Ranking


How to Setup and Deploy Simple VisualwebGui application 

 Hi Master of  VWGui,

 I cretated one Simple application in Visual C#  --> VisuaslWebGui --> VisuaslWebGui Application. and i run it .

It works.Now I want to make a setup by using Setup and Deployment-->to run Visual webgui Application in web.

 What are the steps to make  a setup and deploy on a IIS server for Visual webgui Appli.

 I also added all .dll requires i deed same step which are did in ASP.net appliction needed for setup and deployment.but it didnt work so please tell me to deploy an Visual webgui Appli on IISserver.

what ever i read and done in VWGui by using www.visualwebgui.com is very helpful for me and easy to undersatnd.but i got stuck help me out please.

                                                                                                                                    Thanks and Regards.
                                                                                                                                          Mahesh v Dhage.

 
New Post 11/5/2007 5:01 AM
  tamir.zaslavsky
57 posts
No Ranking


Re: How to Setup and Deploy Simple VisualwebGui application 
Modified By tamir.zaslavsky  on 11/5/2007 8:02:42 AM)
Hi Mahesh.
It is quite simple. Some of visual WebGui is based on ASP.NET. In fact you can say that VWG application is actually ASP.NET application. That's why their setup and deployment are almost the same.
  1. Create setup and deployment for web application
  2. Add Gizmox.WebGUI.Server.dll, Gizmox.WebGUI.Forms.dll, Gizmox.WebGUI.Common.dll files to your setup project. You can find them in your installation folder, which is "C:\Program Files\Gizmox\Visual WebGui" by default.
  3. Change their (the files in step 2) target folder ('Folder' property in the properties windows) to the "bin" folder.
  4. Make sure the vwg extension is mapped to ASP.NET ISAPI.
    Notice I didn't mention specifically ".wgx" extension. That's because you can easily change this extension to any other you like. I would suggest you choose an extension the is already mapped to the ASP.NET ISAPI such as: asmx ,ashx, aspx. To change it add to web config:
          <WebGUI>
                <ExtensionValue=".asmx"/>
                      
    ...
             
    </WebGUI>
The advantage of changing the ".vwg" extension to the one of the extensions I suggest, it that they are already mapped to the ASP.NET ISAPI. Otherwise if you choose ".vwg" or any other extension that is not mapped to the ASP.NET ISAPI then you'll need to map them manually since there isn't integrated way you can do it in setup and deployment projects.
  1. Make sure you also added web.config.
  2. Build the setup project.
Here are some links to threads dealing this issue.
Hope this helps
Tamir
 
New Post 11/5/2007 11:01 PM
  Maheshvd
13 posts
No Ranking


Re: How to Setup and Deploy Simple VisualwebGui application 

 

Hi Tamir,

First Thanks For Reply

  I am trying but i am still unable to deploy.

      What I deed is as follows .

1.Add -->new project -->other project types-->setup and deployment-->webSetup project the Name Given to this is TestWebSetup. and right click on this added Project OutPut-->Primary output and ContentFile. and the Dll file added in bin Folder .Common .Server  .Forms and TestWebSetup.dll. in a Webapplication Folder Web.config file.

2 Then I  Build in a Debug Mode .

3 After that a Debug Folder Created TestWebSetup.msi .

4 I run it  to make setup on IIS Server  It ask me for vrtuall directory -->TestWebForm I gave name to it and Close setup. 

5 Then i run through IE but it http://localhost/TestWebForm2005VWGApp/Form1.wgx but it display. The page cannot be found in IE is this i done can u please tell me where i made mistake Tamir.

                                                                                                              Thanks and regards,

                                                                                                             Mahesh v Dhage.

 
New Post 11/7/2007 12:06 AM
  itzik.spitzen
1659 posts
1st Level Poster




Re: How to Setup and Deploy Simple VisualwebGui application 

Hi Mahesh,

Did you add the .wgx extension to the Application Extension Mapping which is on the IIS Virtual Directory you deploy to?

You should right click the Virtual Directory in the IIS manager (mmc) or even the Web Site then, from the Directory tab you should press the "Configuration" button and go to, then press "Add" button to add a new app extension mapping.

The executable should be that same as aspx, i.e. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" in .NET 2.0.

The extension should be "*.wgx", choose "All Verbs" and unmark theCheck that file exists" check-box (since wgx files don’t really exist).

I hope this will do the job http://www.visualwebgui.com/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKeditor/editor/images/smiley/msn/regular_smile.gif

Regards,
Itzik Spitzen

 
New Post 11/14/2007 5:04 AM
  Maheshvd
13 posts
No Ranking


Re: How to Setup and Deploy Simple VisualwebGui application 
[QUOTE]itzik.spitzen wrote

Hi Mahesh,

Did you add the .wgx extension to the Application Extension Mapping which is on the IIS Virtual Directory you deploy to?

You should right click the Virtual Directory in the IIS manager (mmc) or even the Web Site then, from the Directory tab you should press the "Configuration" button and go to, then press "Add" button to add a new app extension mapping.

The executable should be that same as aspx, i.e. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" in .NET 2.0.

The extension should be "*.wgx", choose "All Verbs" and unmark theCheck that file exists" check-box (since wgx files don’t really exist).

I hope this will do the job http://www.visualwebgui.com/Providers/HtmlEditorProviders/FckHtmlEditorProvider/FCKeditor/editor/images/smiley/msn/regular_smile.gif

Regards,
Itzik Spitzen

  ----------------------------------------------------------////////////////////////////////-----------------------

Hi Itzik Spitzen,

Thanks for giveing such detail information to solve a problem.

what a mistake did by me that I not register "*.wgx" aspnet_isapi.dll" in .NET 2.0. and I corrected as u directed.

and I sucessfully made a Setup and  deployed application in VWG for Windows as well for Web on Server.
                                                                                                                                            Thanks and  Regards, 

 
Previous Previous
 
Next Next
  Forum  General Visual ...  How do I...?  How to Setup and Deploy Simple VisualwebGui application
CompanionKit 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