Configuration :: Deploy To A Non-compiled Website?
Jun 15, 2010
I was commissioned to write a search asp.net page for a company. Page works great, they finally ask me to deploy to the web server. I RDP out to the web server, and instead of finding a normal deployment, I see all the aspx pages along with their code-behind files. They do not pre-compile their pages.
So in an environment like this, how do I deploy my asp.net page? I can get pages to run that don't have dependencies on other things, but this particular page uses Linq. So in my web project, I have a dbml file, and it's generated pages. I have put the dbml and related files on the webserver. The page fails when it encounters the using datacontext statement.
How can I tell my page where this code is?
View 4 Replies
Similar Messages:
Jun 2, 2010
I have a website with a global.asax file with some debug code in Application_Start, which inserts some debug information in a table in the db:
void Application_Start(object sender, EventArgs e)
{
Log.LogToDb("App Starts");
}
I have 2 versions of the same website, one compiled and the other one just plain code.The plain code website correctly inserts these records in the db, but the compiled one is not doing it.
I have a feeling the Global.asax file is being ignored by the compiled website. I can see the dll for it in the in folder: App_global.asax.compiled and App_global.asax.dll although I can't see a Global.asax file in the root folder (do I need one?)
I must say the website is compiled with MSBuild and then obfuscated using Dotfuscator.
View 3 Replies
Mar 30, 2010
I finished My web Site on my local pc and it works goodNow I want to upload it to server i get space from mochahost.net web siteAnd i want to upload the web siteWhat Files Should i Upload ??I'm using sql server 2008 as my database system and using linq to control the database..
View 1 Replies
Jul 26, 2010
i try to used vs2010 build a mvc2 website, just as a testing. so, i include the jquery script file and some css files, it works well in the vs2010. how ever, when i deploy it to iis7/windows 2008 r2, i found all the css files ("/content/*.css") can run well, but the image files ("/img/*.gif") and script files ("/script/*.js") were absence. in fact, the website runs except the image files & script files.
View 1 Replies
Aug 16, 2010
I have source-version of project and i need to deploy it on IIS. General project it properly deploy using VS2008, but issue is, if new revision is created then i need to point new source to deploy web-site. In this case i need to remove created virtual dir for previous version. Is this possible to toggle virtual directory between two sources. I think one solution is to change virtual directory path to new one.
View 3 Replies
Jan 18, 2011
I had created a data driven website with back end as Mysql and i want to deploy on the client machine.
Is it really necessary to create a Web Application to deploy instead of website?
And if it does how to add the current web site to a new web application ?
How to configure the website/web application ready to deploy ?
TO deploy on the client side , including all major and minor settings including prerequisites?
View 6 Replies
Nov 11, 2010
How to deploy Asp.net web site in IIS 6.0 my Environment is windows server 2003 64 bit and port ruining 81.
View 1 Replies
Sep 1, 2010
how to deploy ASP.net Website having SQL Server on IIS server on Different Computer..
View 2 Replies
Jul 20, 2010
I have an application which has a website and a project. The project contains an executable file which I'm trying to run as a process from the website's Global.asax file's application_start(). When I run this application from localhost, everything runs smoothly but when I deploy the application on IIS, application_start's code is executed and I can see the process name in the taskmanager but I cannot see the window which the console application normally starts in (when i run the application on localhost) and neither is the code executed.
Here's what I'm doing:
-- copied website and project in wwwroot
-- made a virtual directory of the website
-- when i run the website, I see the process in taskmanager but the code is not executed.
I am new to deployment and IIS, and would really appreciate I someone could tell me what i'm missing
View 2 Replies
May 4, 2010
Complete newbie with asp.net using 2008 express edition.I made a master page and one simple page, and used the ftp copy web site tool to load the pages to my web site.When I try to open the one page, I get the message has not been pre-compiled, and cannot be requestedI havedone some searching on the error message, and most places talk about missing things from the Bin directory. I don't have a bin directory on my local machine.
View 8 Replies
Nov 22, 2010
We deployed a UserControl to our testing server. Then made a change to the UserControl and re-deployed. I cannot get the change to take. We have cycled the ASP.NET server, deleted the file completely and re-copied, and also tried a suggestion to change the web.config in order to force all files to be re-compiled.
I definitely know that we are changing the correct file. At one point, I removed the UserControl file altogether and received the "File not found error" when trying to load the user control. The file IS the correct version on the testing server.
[ASP.NET 4.0, Windows Server 2003 SP2, IIS (I think 6?)]
View 4 Replies
Jan 28, 2011
We have a company product (asp.net website) that gets compiled and distributed to our clients. I need to figure out a way to allow us to add in an ad hoc aspx webpage into the website (so it recognizes the master page, the forms authentication, assemblies, etc) without having to provide them with an un-compiled version of the website product.Is this possible. Is there a better method than having a special compiled version of the website on their server.
View 1 Replies
Aug 9, 2010
I'm using "VS 2010 Ultimate" "Web Application" project.
The problem is that web application compilation occurs at run-time.
My steps:
1) change Wep Application source code (*.cs files)
2) rebuild "Web Application" in Visual Studio
3) run web site's(mapped under IIS 7.5) start page via browser
4) Problem: CSC.EXE starts compiling wep application for the second time! Despite I've done it on step 2)
What should I do to escape step 4) ? I don't need re-compilation at run-time!
I've tried "to play" with <compilation batch="false" but it seems to be ignored.
View 6 Replies
Mar 8, 2011
Anyway, I need to pick up on another person's project who has left and essentially what I have is his code base which compiles under Visual Studio2010 Ultimate. I need to dig into his code (VisualBasic) in order to fix some minor problem & make some enhancements. So anyway, I started it up and compiled everything. Then I press the little green arrow button, and the project starts up and launch the browser which then access and run this project. However I need to run this under IIS because I have to try access the webservice from a remote platform. Meaning this has to serve a remote connection and not just the browser from within VisualStudio. Could someone give me a little howto in order to set this up and running under IIS?
View 2 Replies
Feb 10, 2010
when we publish an asp.net website, there are 2 file types created under 'bin' folder, .dll & .compiled files. When we deploy to production do we need to copy the .compiled files or just copying .dll will do?
I know it's precompiled at this point but what's the .compiled file for ?
View 1 Replies
Sep 9, 2010
I have various caches on my compiled website. However, I need to clear all these caches. Is there a way of doing this (without having to restart the server!)?
View 1 Replies
Jun 4, 2010
I built my ASP.NET website using vs2008 professional.
Now I have purchased vs2010 professional edition.
I do format my computer and then installed vs2010.
Now I want to deploy my website in vs2010, but it is giving configuration error in <add assemblies...
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
View 2 Replies
May 5, 2010
I want to publish my web application as a single .dll file without all the source code and .aspx markup pages.
I am using VS 2010 with the "Web Deployment Project" add-in. In the compilation settings, I unchecked "make this site updatable" because I want the .aspx files to be compiled as well.
Publishing my web application using the publish feature in VS 2010 works fine, and a single .dll file is created in the "bin" directory.
But all the .aspx markup files are still copied to the web server! I've read that those files are merely marker files which can be deleted, but not in my case. They still contain the whole markup and when I delete them, my application won't run anymore.
It's like I had checked the "make this site updatable" option, but I haven't!
[code]....
View 14 Replies
May 3, 2010
We run our web app through a pre-compilaton command line before deploying it to a staging environment. The only problem is that some of the folders in the project do not get copied into the deployment folder that we target from the precompilation command line. I initially got around this problem by placing a none.txt empty file but this is only a hack. Is there a way to ensure that empty folders get copied too during precompilation?
View 4 Replies
Jan 5, 2010
I've created one web application in ASP.NET - 2.0 Now, I want to deploy it in my localhost itself Is it posible to do so, if yes How it can be achive without having server myself
View 1 Replies
Oct 19, 2010
We have a .Net solution for a website, consisting of 5 projects, and there are a few(less than 10) developers working on the solution. We deploy almost on a daily basis. The question is, how to setup the SVN repo to support this scenario (the daily deploy), also mentioning that not every commited file should go to production, there is a QA check before deploying.
View 2 Replies
Aug 1, 2010
I developed a web application using VS2008 and sql server2005. I don't know how to make my project live. I got the domain name also. But i don't know how to deploy. I don't know how to copy in that.I'll give you the details also to access the ftp. how to upload in it. I want the correct instruction to deploy the application.
View 8 Replies
Mar 16, 2011
i'm struggling with this error for hours... i have an application that uses sql server express ,entity framework and was built with web developer. when i try to browse the app i get a: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
View 4 Replies
Mar 23, 2010
How can I deploy my web application and configure on IIS server.
View 2 Replies
Jul 8, 2010
Ia m trying to deploy an asp.net application.The application is running without any errors and I published the website also.Now I want to ceatethe package of the application.So I added one web setup project.But I couldn't build the web setup project.(1 Build succeeded,! failed)I couldn't able to resolve this problem.I have one webservice and database also.Anyway,I installed this websetup.After that I opened through the browser,error came us global file can not be added.
View 1 Replies