Configuration :: Aspnet_compiler -fixednames Does NOT Work?

Apr 23, 2010

I am unable to get the -fixednames switch to create dlls for the cs code behind files. The files in the bin folder are compiled aspx pages, but the code behind files are all compiled into one large websitename.dll file.Here is my command with switches.

aspnet_compiler -v / -p E:SourceDotNet4mysolutionwebsite -f -d -fixednames E:SourceDotNet4CompiledWebSite

This produces many files in the bin folder.

website.dll and website.pdb (contains code behind)
myform1.aspx.643c7876.dll (compiled aspx layout ui)

I have tested this over and over to make sure I am not missing anything. The test is place a label on myform1.aspx, and in the codebehind populate the label with some text. Compile the website with the above switches and deploy the website.Make a change to the myform1 codebehind and change the label text. Compile and only deploy the myform1.aspx.643c7876.dll to the website. Result: label is still the same. Now deploy the website.dll and pdb and the label changes. how to get -fixednames to create sinle dlls for codebehind?

View 2 Replies


Similar Messages:

Configuration :: Aspnet_compiler.exe, Get Rid Of Aspx Files?

Jan 31, 2011

Does executing "Aspnet_compiler.exe" turn my source files into DLL's so that source files are no longer needed?

View 4 Replies

Configuration :: Aspnet_compiler Throwing An Error About JSharp?

Feb 11, 2011

I'm working on running aspnet_compiler as a post-build even on my Visual Studio 2010 MVC2 application. Every time I run it, I get this error:

The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.

I have no J# in my solution. The J# 2.0 redistributable package is installed, and I have no .java files of any kind in my solution, although I have a lot of .js files.

<compiler language="vj#;vjs;vjsharp" extension=".jsl;.java" type="Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">

View 9 Replies

Configuration :: Update Target Directory Using Aspnet_compiler?

May 11, 2010

Is it possible to just update a target directory rather than fully recompile a website everytime?

For example, if i have already have a precompiled website in a target directory and then a project from the source changes, can i run the aspnet_compiler such that it only updates the target directory with the new changes (by updating only that assembly) rather than delete the whole target directory and recompile the whole application? We do not use the -u option, so we're talking about fully precompiled sites.

View 1 Replies

Configuration :: VS 2008 Express Don't Support Publish Need Aspnet_Compiler?

Jan 20, 2011

I am using Visual Studio 2008 Express and I read some where that it doen't support the "publish" menu option.

The article said I need to run "Aspnet_Compiler" from the command line. What do they mean by "command line" ?? I tried using "Aspnet_Compiler -v /MyFirstWebSite" in the "Run Command" and it indicate that it can find it.

How do I use this ?? Or is there an easier way to publish my website design I did in Visual Studio 2008 Express ??

Or if I move my design into Visual Studio 2010 Express, will the publishing be easier?? If so, how do I move the complete project over ?? Is it as easy as to install VS 2010 Express and open my project ?

View 3 Replies

IIS Configuration :: Crystal Reports Work On Local Machine But When Upload It Does Not Work In VS2010

Apr 27, 2016

I have created a crystal following your article which url isĀ 

[URL]

It is working fine on local machine but when i upload it on the server it is not working. Crystal Report is showing but data is not showing in the crystal report.

View 1 Replies

IIS Metabase Path For Aspnet_compiler In IIS7?

Feb 1, 2011

I am trying to use aspnet_compiler via the command line to build and publish a web application that is running on the IIS7 Default Web Site. I am struggling with finding the correct syntax of the -m argument for specifying the IIS metabase path.

All the documentation refers to IIS6 metabase paths, which are of the format "LM/W3SVC/1/Root". I came across this information, which indicates the IIS7 metabase path should look like "MACHINE/WEBROOT/APPHOST/Default Web Site."

The actual command then looks like this:

aspnet_compiler -nologo -m "MACHINE/WEBROOT/APPHOST/Default Web Site/" \productionwebserverinetpubwebsitefolder

This, however, results in the following error: error 1002: 'MACHINE/WEBROOT/APPHOST/Default Web Site/' is not a well formed IIS metabase path.

My default website is called "Default Web Site". I have also explored using the syntax of specifying the virtual path and physical path instead of the metabase path, for example:

aspnet_compiler -nologo -v / -p ".."

(this command file exists in a sub-folder of the website project folder)

This results in the following error: error ASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

View 2 Replies

Nant Aspnet_compiler.exe Release Build - How To Make It

Mar 11, 2011

I have the following nant task:

[code]

this is used when loading certain assets (swf files) by being appended as a querystring parameter and ensures that when debugging a cached version isn't received but is manageable once released.

However, after what I believed should be compiling a relase build, the version is still being set as a Guid indicating I'm not achieving a release build yet. I've checked the web.config and the value of debug is changed to false so I'm assuming I'm missing some setting in the aspnet_compiler.exe arguments, but I cant find anything which indicates such in the documentation.

View 1 Replies

Can Specify If Aspnet_compiler.exe Creates A Debug Or Release Build

Apr 16, 2010

I wish to compile my asp.net MVC application using aspnet_compiler.exe from the comandline to speed up cold startup.

I'm wondering how it determines if it should do a release or debug build. Is it always release? Does it depend on what the web.config file says when you run aspnet_compiler.exe?

What happens to an application that's been compiled w/ aspnet_compiler.exe if someone changed the debug attribute in the web.config file after it has been published?

View 4 Replies

Publishing A Site In Release Mode Using Aspnet_compiler In Batch File?

Sep 12, 2010

i am trieng to create a batch task that will publish my site in release mode
but with no luck...my script for doing so is this:

aspnet_compiler -errorstack -nologo -fixednames -v / -p "C:projectsmysiteCOMPONENTSsitefolder" -f -u "C:projectspublish-mysite"

my site has about 10 other projects in the solution. so i expect them to all be published in release mode. (the site refrence those projects)

View 1 Replies

Configuration :: Smtp Configuration - Send Mail Didn't Work Any Longer With Symptomatic "timeout" Exceptions

Jun 25, 2010

I've been running a customer's webapplication using automatically generated email for some time, being hosted on our company's web server. Send mail was done using the System.Net.Mail API using a 3rd party SMTP server. The configuration has been done in the web.config in the system.net section, something like this:

<system.net>
<mailSettings>
<smtp>
<network host="mail.jazzforum.at" userName="myUsername" password="myPassword" port="25"/>
</smtp>
</mailSettings>
</system.net>

Everything worked fine until we had to migrate to another hosting service; since then, send mail didn't work any longer with symtomatic "timeout" exceptions. We also tried using gmail and changing/omitting explicit port number specification, without any success. The server is running IIS 6 (Windows Server 2003 R2).

View 4 Replies

Configuration :: Can't Get IIS 6 Project To Work On IIS 7.5

Jan 18, 2011

We have an Intranet site so each developer has our own development site on our computers. We were using XP and IIS6 but are trying to move to new computers running Windows 7 and IIS7.5. Our website starts with classic ASP in the root and has 2 virtual directories turned into applications with .NET code. One is projectless .NET and it works perfectly. The other is a .NET project and we cannot get that running on Windows 7. It compiles fine with Visual Studio 2008 but when trying to access the files through the browser it just runs and eventually times out.

I have tried various things:

- both Integrated and Classic pools for this problem application and the entire website
- even installed framework 1.1 just in case
- various IIS settings including installing all IIS6 Management Compatibility items

I am guessing perhaps something has to change in web.config or some other file, but not sure what. We are running the 32 bit Windows 7 Enterprise.

View 4 Replies

Configuration :: Json Does Not Work On IIS 6?

Sep 14, 2010

I have developed a module to pass Json abjects to the webmethod and return a Json response. The following is the javascript

var options = {

View 3 Replies

Configuration :: Url Routing With 3.5 And IIS 6 Doesn't Work

Jan 5, 2011

I just testing the url routing. I plan to route url like that site.com/cat/{name}And I deal with it on cat.aspx

The problem is that I get 404(by firebug). The problem is that it doesnt even get to my asp.net error handler.

As it seems it stuck on IIS or doesnt even get to the IIS.

I'm on shared server so I dont have access to the IIS, so I cant get logs or configure things..

View 3 Replies

Configuration :: Intranet IP Does Not Work In Internet?

Sep 21, 2010

I have developed an web application using .net 3.5 framework and sql server 2005. Firstly, it was hosted in our intranet. Everything worked fine. Then our client wants to use this application anywhere from world. We do not have seperate domain for hosting. We have our mail server. We hosted in that server.The problem is...Now we have two LIVE IPs, i.e for internet users we are getting the IP ashttp://xxx.yyy.zz.ddd:hh and for intranet users we are getting the IP as http://xx.0.0.tt:uu. The intranet IP does not work in internet and vice-visa

View 3 Replies

Configuration :: Ajax Will Not Work On Godaddy

Mar 16, 2010

I have spent hours researching a solution in the forums and newsgroups with no success. I created a simple ajax enabled website using VS2005 express. It works fine locally but when I upload it to Godaddy I get an error "the message recieved from the server could not be parsed". I can demonstrate the error message directly on my live site [URL] (the third label is in an update panel and should display the current date when the button is clicked). Here is my code:

WEB.CONFIG
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting"
type="System.Web.Configuration.ScriptingSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler"
type="System.Web.Configuration.ScriptingScriptResourceHandlerSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices"
type="System.Web.Configuration.ScriptingWebServicesSectionGroup,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization"
type="System.Web.Configuration.ScriptingJsonSerializationSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="Everywhere"/>
<section name="profileService"
type="System.Web.Configuration.ScriptingProfileServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
<section name="authenticationService"
type="System.Web.Configuration.ScriptingAuthenticationServiceSection,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" requirePermission="false"
allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<system.web>
<customErrors mode="Off"/>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI"
assembly="System.Web.Extensions, Version=3.5.0.0,
Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</assemblies>
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.web.extensions>
<scripting>
<webServices>
</webServices>
</scripting>
</system.web.extensions>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode"
type="System.Web.Handlers.ScriptModule, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd"
preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD"
path="ScriptResource.axd"
type="System.Web.Handlers.ScriptResourceHandler,
System.Web.Extensions, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
</configuration>
DEFAULT.ASPX
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb"
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "[URL">
<html xmlns="[URL]">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<br />
<br />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<br />
<br />
<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label><br />
<br />
<br />
<br />
<br />
<br />
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label3" runat="server" Text="Label"></asp:Label><br />
<br />
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<asp:Button ID="Button1" runat="server" Text="Button" /></div>
</form>
</body>
</html>
DEFAUL.ASPX.VB
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.Text = Date.Now
Label2.Text = Date.Now
Label3.Text = Date.Now
End Sub
End Class

View 4 Replies

Configuration :: Can't Get WebClient.DownloadData() To Work

Aug 1, 2010

webClient.postme

Can't get WebClient.DownloadData() to work

View 2 Replies

Configuration :: Global.asa Doesn't Work On Iis 6?

Aug 25, 2010

I copy a few web sites from iis 5 to iis 6, I declare an app pool for those sites , I copy also the global.asa file to the root folder but the iis ignore the global.asa functions

View 1 Replies

Configuration :: Timeout Does Not Work In Website?

Aug 8, 2010

My website never logs time out even after I set time out both in Autentication and in session state. What I did wrong? Here is my settings in web.config file

<authentication mode="Forms">
<forms loginUrl ="/default.aspx" name=".ASPXFORMSAUTH" timeout ="1">
</forms>
</authentication >
<sessionState mode="InProc" cookieless="AutoDetect" timeout="1" />

View 1 Replies

Configuration :: Microsoft.jet.oledb.dll Does Not Work In 64 Bit OS?

Jun 1, 2010

I have an aspx page that reads an excel file and loads the content in a dataset. The page works perfectly fine in my development machine (Windows 7 / 32 bit).

But when I deploy the dll in my production server (Windows 2003 server / 64 bit), I keep getting the error 'Microsoft.jet.oledb 4.0 provider is not registered in the local machine'.

We have been struggling with this error for the last three days. We've tried all options we got with Google. Using regsvr32, regasm, running the cscript.exe to run 32 bit applications from 64 bit server.. and everything else we saw.

View 2 Replies

Configuration :: AJAX Does Not Work On IIS7?

Feb 27, 2011

I get a website working perfectly in VS2008 but when I publish it on IIS7 ajax doesn't work at all.I guess it is a problem in my web.config but I don't know what. Here is the web.config file :

[Code]....

View 4 Replies

Configuration :: UrlMappings Just Work With Url That End With .aspx Only?

Sep 6, 2010

i have a web site with page named host.aspx that take (id) query string to manage data at pageand i use url mapping to change url at this pagemy web.config file look like this :

<urlMappings >
<add url="~/en/6-9-2010aspx.aspx" mappedUrl="~/en/host.aspx?ID=65" />
<add url="~/en/6-9-2010php.php" mappedUrl="~/en/host.aspx?ID=64" />

[code]...

View 3 Replies

Configuration :: Trying To Make A Program Work With Our IIS Server?

Feb 2, 2011

I have been trying to make a program work with our IIS server, but it's run into a tricky problem that's been driving me nuts. When I debug the program, everything works perfectly; users are able to log in and they see the appropriate content according to the user's role. When logging in from a remote location, however, the program seems to have trouble finding the users' roles. Users can log in, but they cannot see any role-specific information, so they are stuck on the login page forever.

I tried adding a line of code to find the roles of a particular user. In debug mode, it returned the roles correctly, but when accessed through the server, it returned an empty array that caused my site to crash.

View 1 Replies

Configuration :: Custom 404 Error Page Does Not Work

Oct 3, 2010

I have the following in my web.config file:

[Code]....

When I reference a page that does not exist (for example,http://example.com/doesnotexist.aspx) I still get the standard white 404 error page "The resource cannot be found." rather than getting redirected to error404.aspx page that I specified. On unhandled exception, the page does get redirected correctly to error.aspx, just not when it is 404 error. For some reason IIS always pre-empts ASP.NET worker process from processing the 404 errors

View 1 Replies

Configuration :: Web Application Does Not Work After Moving To A New IIS Server?

Jan 20, 2011

I have an app that works fine . I build up a new iis box and the settings is similar to the existing iis box. however, my application is not working anymore. althought I created similiar environment, but not working,I get access denied from the Database for some pages and other pages it hit the database. is there anything I can do to make it work.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved