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


Similar Messages:

VS 2008 Files Locked Even When Application Is Not Running

Nov 19, 2010

Why is visual studio locking my files even when application is not running?The files are not under any source control or readonly either.Before this it didn't allow me to edit the aspx.vb while debugging, though I can do that in other projects.

View 9 Replies

Configuration :: Application Not Running On IIS 5.1?

Aug 27, 2010

i am trying to upload my applicaiton on IIS5.1 version.my application uses SQL server 2005 and Membership provider. everytime i create an virtual directory and run it ,it always says that login failed for user IUSR_TPN0150 .cannot open database emp.

how can i give access to annonymous users so that my login page is shown.

View 6 Replies

Configuration :: Application Is Not Running On Iis?

Aug 27, 2010

i have created an application in asp.net with C# this application is running well when i run it from visual studio but when i deployed it on IIS for testing it is not working it gives me error that isThe control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.i have check complete project i did forget any thing and application is running wll but on iis it gave me above stated error any body can help me and one thing is that i install IIS after installing VS2008

View 1 Replies

Configuration :: Application Not Running After Svn Update?

Jul 15, 2010

I have an application which was running totally fine some days earlier. The problem began since the day i have taken SVN update from server. Its saying "error 404, file not exists", it just removes application name from url & only leaves "http://localhost/1980". Whatever changes i try in web.config it has no effect. It just stick to this error. I copied my previous web.config also but no luck.I tried to comment all lines which are redirecting user to any other page in case of error also. Its happening in my colleagues copy also.

FYI, all other .net applications on my system are still running smoothly. Only this application is not running. Checked the log & it says: 2010-05-15 05:50:12 192.168.1.2 3692 192.168.1.53 2869 HTTP/1.1 NOTIFY /notify 400 - Hostname -

View 1 Replies

Web Forms :: How To Compress Videos Files With GZIP Compression

Mar 7, 2014

i am trying to compress video files by using gzip in asp.net.

View 1 Replies

Configuration :: Application Code Behind Stops Running

Aug 5, 2010

I have a website that appears to be "losing" the code behind bin/dll file support while the application is running. I have added an OnError event to the application and am logging it to the event viewer. At first I was getting problems with HTML and other bad input into text boxes. I have used validation and other methods to correct all of this. Now my issue is that the ASPX pages are still served, however I have custom code in the "onLoad" event and it is not being executed. This is in the "onLoad" for the master page so it is affecting the entire site. So far my fix has been to restart the website within IIS. This corrects the problem for anywhere to 24-48 hours and then it occurs again. Last night when this happened I did not recieve any new information in the event viewer log.

View 3 Replies

Configuration :: Finishing And Running Intranet Application

Aug 2, 2010

I am reaching the stage where my first web application is nearing completion and I want to look at running the aspx web application. The web application is going to be run on an internal server, so that only users of the network can access the web page.I am not sure of how I get my project from my pc onto the server and go about making so that I can open it in my browser,

View 3 Replies

Configuration :: Running 2.0 Application On Local Server?

Jun 11, 2010

while running my aspx pages on local iis 5.1 of my system, it doesnot shows the images and also when i tried to login with the same credentials that i was using with visual studio2005 it always give me error of wrong credentials

View 1 Replies

Configuration :: Error While Running An Application On IIS Server?

Aug 17, 2010

i got the below error while running an application on IIS server. Error 167 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. E:iaeciaecWeb.config 48 .

View 4 Replies

Configuration :: Running Com / Application In Background Without User Logged In?

Aug 3, 2010

I have a web application that initializes a third-party com application to perform few calculations. The website is deployed on a windows 2008 server (standard edition).

The problem I have been facing is that when I am logged in to the server (Remote Desktop Connection only as the server is not local), the com application initializes fine. But when I log-off or just close the remote desktop connection, the application doesn't get initialized. I have searched for a solution and found this:
[URL]

I created the scheduled task as I didn't know how to create the windows service (the description at
http://support.microsoft.com/kb/251192 is too confusing), and got the application to run when windows starts before even the user logs-in. But in even in this case, the application doesn't work unless the user is logged in and when I log-in, a second instance is created (with exactly the same user (admin)) and the original instance is never used.

I cannot get the application to run without logging off or atleast having to close the remote desktop connection.Is there anything I am doing wrong?

View 1 Replies

To Compress JavaScript Files With GZip To Speed Up The Page Loads Of Site?

Mar 24, 2010

we're looking to compress our gargantuan JavaScript files with GZip to speed up the page loads of our site. I know this can be done through IIS, but I can't seem to find a simple step-by-step guide on how to implement it.We're running IIS7.5 on Windows Server 2008 R2.

View 2 Replies

Configuration :: Bitmap Image Saving When Running The Application On Iis Server

Apr 2, 2011

I m facing one problem which is related to Bitmap Image Actually My image is saved properly without iis server but when i run application on iis server then its give Exception "A generic error occurred in GDI+."
I m using this code-

Byte[] bytes = (Byte[])ds.Tables[0].Rows[r][1];
MemoryStream memStream = new MemoryStream();
memStream.Write(bytes, 0, bytes.Length);
System.Drawing.Bitmap origBMP = new System.Drawing.Bitmap(memStream);
System.Drawing.Bitmap newBMP = new System.Drawing.Bitmap(origBMP, 100, 150);
System.Drawing.Graphics objGra = System.Drawing.Graphics.FromImage(newBMP);
objGra.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
objGra.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
origBMP.Dispose();
newBMP.Save(Server.MapPath("ImageUpload\" + r + ".Jpeg"), System.Drawing.Imaging.ImageFormat.Jpeg); //exception throw "A generic error occurred in GDI+."
newBMP.Dispose();
objGra.Dispose();

View 3 Replies

Configuration :: Compiled Web Application Still Contains .aspx Markup Files?

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

Configuration :: Benefits Of Using Multiple Web.config Files In Web Application

Nov 8, 2010

let me know that what is the advantages / benefits of using multiple web.config files in web application

View 3 Replies

Configuration :: Application Directory Should Store Javascript Files?

Apr 3, 2010

Where is the best place to store a javascript file in my website?

Should they be stored in the App_Code folder allong with C# files or should I create a dedicated folder in the root of the website? Or are there any other options?

View 2 Replies

Configuration :: Why Application Trying To Save Files To Disk Using Explorer.exe Not W3wp.exe

Oct 14, 2010

I have an app configured to use anonymous authentication, the application pool is set to network service. When I run filemonitor I can see that thw w3wp.exe is picking out the webpages and stuff from my hard drive and returning images etc. However one of the pages saves a file to a folder using c# save() method. Instead of the w3wp.exe actually writing the file to disk explorer.exe seems to be accessing the folder. What the hell is going on? I though the w3wp.exe did everything asp.net related why on earth is explorer.exe being introduced into the fold here?

View 1 Replies

Configuration :: Unable To Upload Files In Medium Trust Application?

Nov 10, 2010

I was unable to upload files in a medium trust application and caught security exception.

If I change trust level to full it is working fine, but the hosting environment is set to run only medium trust application.

What are the settings to be done prior to upload files in a medium trust application.

View 5 Replies

Configuration :: How Many App Domain Created When Multiple Instance Of Multiple Application Is Running On Single

Jan 12, 2011

below written question :

1.) What is the name of the OS process in which App Domain resides.

2.)if suppose There are Three Windows application hosted on a same envoirment and two instance is working for each application at a Time, means now total instance are six .what will happen among the below written cases :

a.) There will be six different app domain in a single OS process

b.) There will three app domain(one for each application) in a single OS process and some Parallel thread will be executed in each app domain for another instance.

c.) There will be Three OS process corresponding to each application.

3.) If eveything will remain same except there are three web application in place of windows in point 2, will there be any change in functioning.

View 1 Replies

Configuration :: Running Framework 2.0 Application Within Framework 4.0 Website

May 18, 2010

I host a website that has recently been upgraded from .NET Framework 2.0 to .NET Framework 4.0. Within the website, I have an instance of BlogEngine which still requires .NET Framework 2.0. Each website is in it's own application pool. My issue is that when I browse to the blog portion of my website, I receive a 500.19 error with the following information...

The configuration section 'system.web.extensions' cannot be read because it is missing a section declaration The web.conf file that is listed in the error message is the config file that belongs to my root website which is running .NET Framework 4.0. How do I get the two websites to run together in the same website using different versions of the .NET Framework?

View 2 Replies

Configuration :: Deployment Of Web Application With Aspx.cs Or Aspx Files Only?

Feb 28, 2011

If we are deploying ASP.NET web application, Do we need to copy both *.aspx and *.aspx.cs files on the server?Also what if I am using different framework version? I mean 1.1 / 2.0 /3.0 /3.5 /4.0? What will be the answer in different .NET Framework versions?

View 5 Replies

Configuration :: Running MVC Site On IIS6 - Configuration?

Aug 11, 2010

I am having serious issue running a MVC web site from IIS 6 especially with Windows authentication mode. I know its very simple but missing some ting between. Succeeded configuring MVC on IIS 6. Now Trying to enable Windows Authentication mode on MVC Web Site, Steps included in my configuration

- enabled windows authentication mode in web.config
- Enabled Integrated Windows Authentication on IIS web site under Directory Security.
- Given permissions to a Domain group (eg: asiaDomainGrp) [Read, Write] Do i need to add ASP.NET Machine accountIUSR_<machines name> under this?

During the intial loading, I am trying to query Active Directory to get authenticated user's full name to display on default page, this is not success full due to some issue, later I changed to "HttpContext.User.Identity.Name". Now I could able to access Default page from the web server, but real heck is here. For some reason IIS is using NT AUTHORITYANONYMOUS LOGON.
[Code]....
I have separated two servers as Web server/Database server.

View 4 Replies

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

Running Asp.net Site - Cannot Have Files At Root

Sep 28, 2010

I am a PHP developer and have been asked to make some slight amendments to an ASP.net site. I can make these amendments but the biggest challenge seems to be getting the actual site up and running on my own server! I have a had lots of errors with regards to the paths to files, as the website is linked absolutely to the root folder and on my development server I cannot have the files at the root. I have therefore worked my way through some of the files making the paths relative so I can at least see some of the site running but then I came across this error:

CS0103: The name 'Data' does not exist in the current context
Line 5: protected void Page_Load(object sender, EventArgs args)
Line 6: {
Line 7: rptNews.DataSource = Data.NewsArticle.GetLatestNews(3);
Line 8: rptNews.DataBind();
Line 9: }

I assume this is something to do with data being called from a database. How to get the site and database up and running as I have no idea where to start and feel I am going round in circles.

View 4 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







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