Configuration :: .cs And .dll Files On IIS 7.5?

Mar 10, 2010

i created asp.net web aplication in VS08, where i have files(dll,cs) in app_code all work ok.When I publish this site on the IIS, the page don't find(use) .cs and .dll files. I converted folder to the web aplication and try all posibilites but didn't work.

View 1 Replies


Similar Messages:

Configuration :: ResourceManager And Resx Files - Files To Display Items In Multiple Languages

Oct 13, 2010

I have an application that uses resource files to display items in multiple languages. My app uses quote a lot of javascript and the alerts need to display in the local language. To do this, I have created an http handler which will read the keys and values of the culture-specific resource file and write them to a JSON array which is then embedded in the page in a script tag, the messages can then be accesses using, for exmaple:

Message.Error (en-GB = "Error", fr-FR = "Erreur")

The messages http handler works great in development, however when I run the application on a test server, I get the error: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Resources.Alerts.resources" was correctly embedded or linked into assembly "App_GlobalResources.b0n9j90e" at compile time, or that all the satellite assemblies required are loadable and fully signed. The code that I use to acccess the resource file is:

ResourceManager manager = Resources.Alerts.ResourceManager;
ResourceSet resourceSet= Resources.Alerts.ResourceManager.GetResourceSet(Thread.CurrentThread.CurrentCulture, true, true);

Where Resources.Alerts is the type that contains my multi-lingual definitions. The build action for the Alerts.resx file is set to "Embedded Resource". Any ideas why this works locally but not on my test server, am I missing something?

View 1 Replies

Configuration :: How To Prevent Specific Files Being Deleted From Temporary Files

Jun 2, 2010

The majority of files in the Temporary ASP.NET File folder for a given application get deleted by ASP.NET following compilation -- .DLL and .PDB files amongst others remain.

Our compiler produces proprietary debug information files which are amongst those that get deleted.

Marking the files read-only prevents this but are there other options available?

View 5 Replies

Configuration :: Create MSI Files Or Setup Files Programmatically?

May 24, 2010

How to create MSI Files or setup files programmatically using MSBuild in VS 2008

View 1 Replies

Configuration Files Vs Normal XML Files?

Dec 8, 2010

In my web site which is basically a monitor application I have to keep a configuration file which contains some web servers name, names of web sites hosted on each web server, url and port numbers etc.

Can anyone please explain me what are the benefits of treating this configuration file as custom configuration file of my web application and reading it using "ConfigurationSection" or "IConfigurationSectionHandler" rather than treating it as a normal xml file and reading it using 'XMLDocument' or 'XMLTextReader' or 'XLINQ' etc? This will save me from creating an entry in in the web.config file as well this custom configuration file.

View 2 Replies

Configuration :: How To Map URL To Files

Aug 27, 2010

How the url is mapped to the WebForm? First, say I have a WebForm in a directory (and/or namespace) like this: alongpath oa And then what would the corresponding url be? Would it be like /a/long/path/to/a/resource.aspx. How asp.net understand how to map urls to directory (ie how to locate the resource)?

Second, if I want the url structure to be different from the directory structure then how to store the map? Say the URL is like this: /a/dfferent/path/to/the/resource.aspx Then how to store the mapping? In addition how to do the same virtual directory sort of thing with MVC2?

View 5 Replies

Configuration :: Flv Files Not Being Recognised?

Jan 11, 2011

I have recently set up some hosting space. The problem is whenever I upload flv files and try to reference them directly they can't be found even though I have specified the MIME type in the web config file. The only way to play flash files is to upload them onto seperate webspace and reference them that way. This is what my webconfig file says:

<system.web>
<customErrors mode="Off"/>
<xhtmlConformance mode="Strict" />
</system.web>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".flv" mimeType="application/flash" />
</staticContent>
</system.webServer>
</configuration>

What am I doing wrong?

View 1 Replies

Configuration :: How To Get FileInfo Of Files On FTPServer

Aug 10, 2010

I want to capture fileInfo files in specific folder on FTPServer.here I want file Info like fileName, creationTime, LastModifiedtime, extension etc before downloading them.I want to run validate machanism before downloading files from the FTPServer.But I am unable to get FileInfo from files residing on FTP Server.

View 1 Replies

Configuration :: Moving Files From Bin To App Data?

Apr 11, 2010

I moved my files from the BIN Folder to the APP DATA Folder.... cuz of some security issues and my hosting provider asked me to do so...

Now how do I import these files in my webpage....from the App Data Folder....

View 4 Replies

Configuration :: Setting Up Website Using .cs Files Instead Of Only Bin?

Dec 22, 2010

Our site as it exists now utilizes only the bin file. We are going to re-migrate our site to use the .cs files to compile on the fly. What settings do I need to set to allow for this and what disadvantages if any are there for using the .cs files in prod?

View 3 Replies

Configuration :: How To Use Multiple Web.config Files Using And VB

Nov 16, 2010

I have two webconfig files, on in the root directory and one in the other directory. I dont know how to access or specify for the particular pages or APIs those are in the folder.Root webconfig file used by another section and the 2nd one accessed by another api. I have no idea about that

View 3 Replies

Configuration :: Marking Files As Synchronized?

Nov 6, 2010

The Copy Web Site tool shows both the local and remote versions of most of my files as "New" But I know they are the same because I recently copied them. I would like to do something to mark them as "Unchanged" without recopying them and thereby changing the creation timestamps. Are any of the following possible?:

A tool that compares files and marks identical files as synchronized. Explicitly telling VWDE to mark files as synchronized. Going around the user interface to mark files as synchronized. How does VWDE keep track of which files are synchronized?(In case you are interested, the way things got in this state was that I copied the files with the remote site as local and the local site as remote. I did it that way because I had been editing files directly to the remote site.)

View 1 Replies

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 :: Transformation With Config Files?

Aug 17, 2010

I am currently trying to publish a web application in TestRelease mode and when I do, the following dll is compiled and put into the bin folder.Microsoft.VisualStudio.Settings.dll.I do not get this dll when I comple in release or debug mode so wondered if there is a setting I can change so this dll does not appear in the bin folder when I compile in TestRelease or TestDebug mode ?When I get that dll in the bin folder and try to deploy the application to our test server, I receive the following message: Could not load file or assembly 'Microsoft.VisualStudio.Settings.dll' or one of its dependencies.Any suggestions on why that dll appears in the bin folder and how I can prevent it from being deployed when I pusblish through visual studio ?

View 1 Replies

Configuration :: URL Rewriting Static Files Like CSS?

Nov 2, 2010

How do I rewrite the url for static files? When adding something like

RouteTable.Routes.MapPageRoute("test", "style/style.css", "~/Static/Styles/Public.css");

I just want the url /style/style.css to point to another static file on the webserver..

I'm getting this error:

There is no build provider registered for the extension '.css'. You can register one in the <compilation><buildProviders> section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

View 5 Replies

Configuration :: Exchange XML Files Between Web Servers?

Jan 20, 2011

I have a situation where we are splitting dynamic content from static content and each is getting its own web server. The people maintaining the site want to be able to make navigation changes once and have it show on both servers without any major extra work (for them). I'm putting the navigation structure in an XML file which also has information on things specific to each content page. This brings me to the question of how to share that file. If I want the change to be instantaneous I can't rely on a scheduled task to copy the file from one server to another.Access to one of the servers is very limited due to security policy.

I am thinking about maybe a web service running on one server to get the data from it to pages on the other server. Does this sound viable or do any of you have other ideas that may work better? I considered having the navigation in a database but this introduces the need for a tool for the navigation updaters to have for them to do that. It is easy for them to update XML and just publish to the server with a lower security level. To get them database access requires terrible paperwork and meeting with security people.

View 5 Replies

Configuration :: Using .config Files In ClassLibrary?

Mar 23, 2010

How can I use web.config file in VB.net class library.

View 4 Replies

Configuration :: ASPX Files Not Compiling In One Assembly?

Dec 15, 2010

I am using Visual Studio 2008 and my project is a Web Application Project so that I can compile my all files in just one assembly.

It is working but web form code behind files are compileing into single assembly but aspx files are not compiling. In addtion, these aspx files are present in the directories and they can be viewed.

Is there any technique to compile my all files into single assembly?

View 3 Replies

Configuration :: Custom Config Files Encryption

Mar 24, 2011

I have a couple of configuration files flxConnection.config and flxSecurity.config files which are being referenced from the Machine.config file like below.

<securitySettings configSource="flxSecurity.config" />
<connectionStrings configSource="flxConnection.config" />

I would like to encrypt the files (a) flxSecurity.config and (b) flxConnection.config using the RSAProtectedConfigurationProvider using a custom RSA key, which can be deployed to other servers. How is that possible? If possible, looked at a variety of stuff in the internet and they all seem to be referring to either Web.config or Machine.config encryption which is pretty straight-forward. This is how the flxConnection.config looks like,

<?xml version="1.0"?>
<connectionStrings>
<add name="LocalSqlServer" connectionString="data source=.SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
</connectionStrings>

This is how the flxSecurity.config looks like,

<?xml version="1.0" encoding="UTF-8"?>
<securitySettings>
<add key="APC_APP_ID" value="apcrpt"/>
</securitySettings>

View 3 Replies

Configuration :: Moving Website Files On SAN For Upgrading

Jun 4, 2010

We currently have two web servers that are load balancing a website. Each server at the moment has its own copy of the site on their own hard drives. We have recently installed a SAN thats accessible by both servers so what I would like to do is move the website files on to the SAN for easy management of upgrades to the site. What steps should I take to ensure this works correctly with IIS7 and the web.config files and possibily machine.config files. For additional information the web.config's on each server is currently encrypted, how would I be able to achieve this with a SAN?

View 2 Replies

Configuration :: Unwanted Files In Bin Folder When Publishing

Nov 3, 2010

During build process on ASP.NET MVC 2 application, two files are generated dynamicly (copied, that is) in build folder :

- Microsoft.SqlServer.Replication.dll
- Microsoft.SqlServer.BatchParser.dll

As this files are unwanted, are not required for application to run properly, i put delete command on post build event to remove them :

<code> del "$(TargetDir)Microsoft.SQLServer.Replication.dll" & del "$(TargetDir)Microsoft.SQLServer.BatchParser.dll" </code>

The problem is, as i understood the publish process does: 1. Build, 2.Publish, 3. Post build, so these files are alwasys published on server and causing problems on every publish to our QA server. Is there any way to avoid removing files manually, except for first publishing on the local fs, then use some sort of ftp deployment script that would first delete files, and then push them to server.

View 1 Replies

Configuration :: Long App Restart When Copying Over Bin Files?

Oct 16, 2010

Lately it's been taking about 15-30 seconds for my site to respond after copying new files into the bin folder. I do updates throughout the day to fix bugs, add new features, etc. It used to only take a couple seconds.

I have 4 files that get copied into the bin directory regularly. 2 DLLs and 2 PDB.s I use debug mode (I prefer it for the errors since right now I'm updating frequently), but have also tried release mode and it didn't make a difference. 3 files are 1MB and the other is 400KB. I've also cleaned and re-built but still the same.

It was only taking a couple seconds for the app to restart until a day or two ago. I'm not sure what changed. This is an active site so having a long delay is a problem. I've been tempted to try an iisreset, but that'll really create a problem for users on the site.

This is with IIS6, Win 2003, and .NET 3.5.

I looked in the .NET temp folder and it's not filled with garbage.

View 7 Replies

Configuration :: Caching And GZIPing Javascript Files?

Apr 26, 2010

i have some javascripts file which i need those to be chached for my website. also can i GZIP javascript files?

View 2 Replies

Configuration :: Compress JS And CSS Files In Application Which Is Running IIS 7.5

Jan 5, 2011

We are trying to compress JS and CSS files in our application which is Running IIS 7.5. Both JS and CSS files are getting compressed
But application is not able to load these compressed .JS and .CSS files it is still referring to old un compressed files.

Just for your info Compress JS and CSS Files are at C:inetpub empIIS Temporary Compressed FilesDefaultAppPool$^_gzip_C^.

Here are the setting which i have in AppHost.config file

<dynamicTypes>
<add mimeType="text/*" enabled="true" />
<add mimeType="message/*" enabled="true" />[code]..

View 1 Replies

Configuration :: How To Use Msbuild To Create MSI Files Or Setup

May 27, 2010

I want to Use MSBUILD to create MSI Files or setup. Can I do it programetically.

View 1 Replies







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