Configuration :: Publish Web Pages To Host?
Jun 8, 2010can u plz tell me how can i publish my web pages to host it on registered website?
View 2 Repliescan u plz tell me how can i publish my web pages to host it on registered website?
View 2 RepliesI want to publish my project, and upload it to my host but I don't know how to to do that to convert my codes to .dll to protect it ? to take a copy of my database and upload it to the host and bind it all steps needed to complete that successfully
View 2 RepliesI have set up a development server (Win Server 2003) with IIS 6.0. I have the .NET Framework 2.0 and 4.0 installed. My web host (where my app will run) has .NET 3.5. Will it work for me to set up my development server with 4.0 in IIS, and then create a new website in Visual Studio (2010) that targets the .NET 3.5 framework (aimed at my development server)? want to be able to publish the site to my web host (with .NET 3.5).
View 2 RepliesWe have a virtual server hosted to the third party which we access through remote desktop. We have Sql server 2008 on Windows 2008. I created a website on my local hard drive and now we are ready to deploy. My question is what are the recommendations for publishing websites? What steps I need to take care of? Is it possible not to deploy the "code-behind" files. Incase of hacking of windows server, I do not want somebody to see my .vb files or Is it possbile that I can convert the whole thing except aspx files in to a strong dll?
View 3 RepliesI have designed a website in microsoft visual web developer and i need to host this website in iis. how to done this.
View 1 RepliesI'm building an ASP.NET MVC application and I'm trying to deploy it on a free host (0000free) which does support ASP.NET. I tried a couple of things, but none of them worked (i.e. I only see the directory structure when I browse to my web site):
Publishing to a local folder and then copying the published files via ftp over to my host (in the public_html directory).
Publishing via ftp to the root folder: ftp.mywebsite.com
Publishing via ftp to the public_html folder: ftp.mywebsite.com/public_html
Usually I would just drop the html files in the public_html folder, but I'm getting the feeling that the deployment process for an MVC application is slightly different. Do I have to modify the Web.config or some other filer? How does one usually deploy an MVC application (on a free host)?
Update:I have learned that the host uses Mono and supports .NET 4.0, but I'm still not able to deploy.
I have Visual Studio 2010 and I used its Publish Feature (i.e. right click on the project name and click publish) and I tried several things:
Publish method: FTP to the root folder.
Publish method: FTP to the publich_html folder.
Publish method: File System to the root folder.
Publish method: File System to the publich_html folder.
Publish method: File System to a local directory on my computer and then FTP to root and also tried the public_html folder.
I went into the cPanel (control panel) to try and see if ASP.NET has to be added/enabled for my web site, but I didn't see anything there.I can't browse to Index.aspx nor can I redirect to it from index.html (as suggested from other posts on the host forum), right now I have a link from index.html to Index.aspx but it's not working either (see http://www.mydevarmy.com)I've also tried renaming Index.aspx to Default.aspx, but that doesn't work either.
The search utility of the forum of the host is somewhat weak, so I use google to search their forum: http://www.google.com/search?q=publish+asp.net+site%3A0000free.com%2Fforum%2F&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
I've been reading Pro ASP.NET MVC Framework and they have a chapter about publishing, but it doesn't provide any specific information with respect to the location of publishing, this is all they say (and it's not very helpful in my case):
Where Should I Put My Application?You can deploy your application to any folder on the server. When IIS first installs, it automatically creates a folder for a web site called Default Web Site at c:Inetpubwwwroot, but you shouldn't feel any obligation to put your application files there. It's very common to host applications on a different physical drive from the operating system (e.g., in e:websites example.com). It's entirely up to you, and may be influenced by concerns such as how you plan to back up the server.
Here is the error I get when I try to view my Index.aspx page:Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
Description: HTTP 500. Error processing request.
Stack Trace:System.Configuration.ConfigurationErrorsException: Unrecognized attribute 'targetFramework'. (/home/devarmy/public_html/Web.config line 1)
at System.Configuration.ConfigurationElement.DeserializeElement (System.Xml.XmlReader reader, Boolean serializeCollectionKey) [0x00000] in <filename unknown>:0
i want my application to provide a web ui for remote access, but i do not host that web page in IIS, because i do not want everyone install IIS on their home PC.
i spend some reading the asp.net pipeline, but still not figure how to load the .aspx file in my code.
There's a master page that is used by all the pages in the app. This master page hosts a dynamically generated menu. Opening of pages etc. is almost always handled through Response.Redirect(). Here's the catch:
I login to the app and it shows me a default page, with the master page at the top. So the Page_Load() fires for the master page. So far good. Now I go through the menu and select an item. Clicking the menu triggers a postback where the Page_Load() of the master page is called again. After that the Page_Load() of the desired content page is fired, and then the Page_Load() of the Master page is fired yet again! So each time I click a menu item, the master page is loaded twice!
I'm new to ASP and was hoping to get some hands-on experience of web development, but have been having trouble getting started.
I followed the instructions in the [URL] setup video, and downloaded and ran the plaform installer. I noticed that the "Web Platform" section of the installer was didn't have the "Web Server" section at the top, as shown on the instruction video [URL] but it otherwise seemed to install ok.
When I tried to follow the tutorial videos on [URL] using MS Visual Web Developer 2010, I am unable to debug the application. The web page it loads just says: "The webpage "localhost:xxxxx" cannot be found" (where xxxxx is the five digit random port number).
I've tried uninstalling Visual Web Developer, and the various Microsoft .NET and SQL Server using the Vista uninstall functionality of the control panel (as bet as I could -I'm not sure if there was something I missed), and then re-installing, but I still get the same problem.
I've tried to find a solution on some developer forums, and I noticed there are posts relating to webdev.webserver.exe relating to the error message I've been getting. However I haven't been able to find any info on this for VS 2010.
I've checked, and I don't have webdev.webserver.exe in C:Program FilesCommon Filesmicrosoft sharedDevServer or in C:WindowsMicrosoft.NETFrameworkV2.0.50727, although I do have WebDev.WebServer20 and WebDev.WebServer40. inC:Program FilesCommon Filesmicrosoft sharedDevServer 10 (I'm not sure if one of these is the equivalent files for VS2010.)
I've also made Internet Explorer my default web browser, since some of the forum posts mention this. My firewall is on, but I don't get any error messages relating to the firewall when I run the app. However, I wasn't sure whether there was a particular program I should add to my "allowed" list before running.
I ran the diagnostic tool: [URL] and I get the following output:
THE FOLLOWING SCRIPT will check to make sure that .NET Framework 3.5 is installed properly and will tell you what is not configured appropriately WINDOWS VERSION: 6.0.6002 POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727" /v "SP"
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727 SP REG_DWORD 0x2
ERROR: NetFx2.0 SP1 is not installed POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0" /v "SP"
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv3.0 SP REG_DWORD 0x2
ERROR: Netfx3.0 SP1 is not installed
I presume there's been some problem with installation and setup. However, I'm not sure what exactly I need to re-install (if anything) to fix it.
Page B - loads slowly and needs to do some CPU-intensive operations on the web server.
I noticed that when someone is loading Page B, then Page A also loads slowly. This is even worse if multiple users are loading Page B at the same time. Page A won't finish loading until Page B is done.
Is there a best practice for making sure that Page A can still load quickly? Maybe a config setting or IIS setting that I need to change from its default? With 2 users loading Page B at the same time, the web server CPU usage only gets to 30% so I suspect it might be something I can tweak with the settings.
When i'm trying to debug or view pages of my site in browser asp.net dev server doesn't turns on pages automatically and when im trying to go by url it throws me an error See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): Не удается найти указанный файл
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.DoLaunch()
at Microsoft.VisualStudio.WebServer.WebServerForm_DAL.OnLinkClickedHyperlinkLinkLabel(Object sender, LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnLinkClicked(LinkLabelLinkClickedEventArgs e)
at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)............................
The server is 64 bit, but the app pool is configured to run as 32 bit. Do i need to publish 64 bit dlls? The rapid fail recovery sometimes recycles the app pool and someone suggested that it may be because i am not using 64 bit dlls. Doesn't sound likely... but you never know.I switched the publish settings to release and any cpu. But it spits out in the bin folder /bin/x64 as well. Do i copy over everything in the bin folder or do i just copy over the x64 dlls?? kinda confused on that. And why are pdb files being spit out with the dlls as well? I thought this was a debug thing only.
View 2 RepliesI had developed the 3 tire Web application, so i need to deploy the application to the customer public server.The public server has the Windows Server 20003 R2, how can i deploy my application
View 1 RepliesI have searched high and low on the internet for clear instructions on how to host an mvc 2 application in IIS but without luck. It seems to be from my research that it is anything but straightforward to do.
Imagine i create a new mvc 2 project in visual studio 2010. I want to host this locally on my own IIS server.
how can I publish a web application to the internet
View 2 RepliesI had first build an database and populated it with various information, set some properties related to FTS and other things.
Now, in the asp.net MVC application, I am able to add the database ServerExplorer->Connect To Database-> Data Source= MS SQL SERVER->Server name->OpAmp-pc. Now, I was unable to add the database by copying the file in app data folder.
My doubt it how can I share the website+ database with my fellow batchmate or put the whole website online.
Build->Publish Sirte, didn't solved the pupose.
i have dsigned a website in my desktop in my company. i have installed sql server 2005 and visual studio 2008.everything is working fine if i host my website from my workstation.but my desktop is not accessible to all the departments in my company so i have to host my website on one of the company's sql servers.let us assume that "isaserver" is my company's sql server where i want to host my website.now, what i did that i created a virtual directory in isaserver's wwwroot folder and pasted my c:/inetpub/wwwroot contents into that.but when i tried to access the website, its not working.
View 4 Repliesim Using asp.net 3.5
and i want to publish it and i want to test My WebSite from Remote computer ,
but i want to test it on (localhost) not on Server !! how?
Developing a website in ASP.net. On the development site all is working fine.We decide to publish the site using visual studio 2008's publish mechanism.The publish goes flawless.When we go to the live site, it hangs anywhere from 2 minutes to 30 minutes before it starts serving pages.All other sites on the same server seem to work fine.If we reboot the server it starts serving pages right away.It is not a programming issue, as once the site kicks in all seems to work fine.VS 2008, .NET 3.5, On both IIS 6.0 and 7.5
View 3 RepliesI love the idea of precompiling my web site. In fact, 've never understood why MS didn't consider this important all along. So I tried the new Publish Web Site command in VS2010 and it seems to work well. That is, until I need to make a change to my site!In order to implement the tiniest of changes to my site, it looks like I must run the Publish Web Site command again, which takes forever because it overwrites and copies absolutely everything on my site, including the upload directory where users' images get stored, which is a problem!If I attempt to instead use Copy Web Site, then I get error about how I can't have an App_Code folder, or something along those lines, in a precompiled app.So what am I supposed to do? Is the only way I can have a precompiled site by requiring a complete reset of all content if I need to implement the tiniest of changes?
View 13 RepliesI am currently having problems with publishing my website to my server. I have ensure that the permissions/username/password is correct. I tried creating a new website and I have no problems at all. However, I have this project in localhost which I want to publish and it just gives a message "Failed to Publish". Also I am trying to configure my webconfig to access my sql server 2005 database not by windows authentication but by sql server authentication, which I am unsure of how to do it.
View 3 Repliesi have a web project which runs perfectly. but when i publish and run from localhost i get the following error:
Server Error in '/manpowermarketing' Application. Failed to access IIS metabase. Description:
[Code]....
i have project that have used report microsoft . it can print in win server 2008 when it is source code but when i published project in serever 2008, there is no data in my page and it cant print.
View 2 Replieswhen i publish my ASP web site, with the publish web VS2010 tools,my web site only gives me the 404 error.., why?
View 4 Replies1. can i use my system as web server as well as database server and my ip address as the name of the site. with out any registrations are there any free web hosting sites plz let me know.2. for stand alone applications setup file is created how about web applications. do we need to genrate any dll to integrate all the design and code and database.
View 5 Replies