Lỗi uploadmodule is not installed into web.config năm 2024

I am using ISLE-2011 to setup an asp.net app on windows 2008, including setup a new web site and application in IIS. There appears to be a known issue where the install will fail on 2008 if web.config that is being installed is marked as read-only. I am specifying this file in ISLE indirectly, via the ASP.NET web project's "Content Files".

I tried clicking on this "Content Files" entry in my "destination computer's files" (bottom right pane in ISLE files view), right clicking, select properties, checking the "Override System attributes", and then making sure the "Read Only" checkbox is clear. However, this does not fix the problem.

I verified that adjusting the "Content Files" entry's settings this way seems to have no effect on the files installed by manually changing the actual web.config file's read-only attribute to false, and then successfully installing. At this point, I view the attributes of the the files installed, and all the installed files except web.config are still set to read-only, even though I set the "Override System attributes" box and cleared the "read only" box for the "Content files" entry.

I'd like to continue to use the "Content files" entry, instead of manually linking to files, because it avoids missing files when added, and also manually adding explicit links seems to put the full path to the file - which won't work for me because I'm using tfs build.

How can I get "web.config" to be copied via "Content files" but still be marked as not-read-only, without having to actually set the web.config file to not be read only? I don't want to set the actual file to be not read only because I'm reading the files from TFS via tfs build (msbuild.) I suppose I could create some custom build step somewhere that changes the file attrib somewhere or checks out the file, but that seems hokey.

I've just downloaded this product to evaluate it and I'm running into a problem on my first effort to use it.

I use VS2008 and have a large webapplication solution which is divided into several subprojects. These subprojects live in subdirectories of the main application, and they do not have their own web.config file. Instead they share the web.config file in the root of the webapplication.

I copied the DLL and LIC files to the \bin directory, and added a reference to the DLL in the subproject where the test page is.

I also added the relevant CuteWebUI entries to this single web.config file in the root:

<add namespace="CuteWebUI" assembly="CuteWebUI.AjaxUploader" tagPrefix="CuteWebUI"/>

<add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>

I created a test upload page in a subproject, and now when trying to run the test page I get the error: "UploadModule is not installed into web.config"

How can I solve this issue? Thanks in advance.


Regards, Marja

  • Re: Error: UploadModule is not installed into web.config

    Sorry, already found the cause: I'm developing and testing on a computer running Vista so I needed to deploy for the IIS7 integrated mode. I originally added that line to the wrong section of the web.config file. My webapplication will eventually be installed on all kinds of Windows servers, so I won't know in advance which deplyment method to use for the UploadModule entry. Can I simply add that line to both sections of the web.config to accomodate all IIS servers? Or could that cause other problems?


    Regards, Marja
  • Re: Error: UploadModule is not installed into web.config

    Hi, You can add the UploadModule into system.web and system.webServer at the same time without any problems. Regards, Terry
  • Re: Error: UploadModule is not installed into web.config

    Hi, I did the same as you suggested above, but I am getting the following error while testing in Chrome, UploadModule is not installed into web.config.! and its completely not working in Firefox. Please help me out in this issue.
  • Re: Error: UploadModule is not installed into web.config

    Dear shailen, To allow Ajax Uploader to handle upload requests, you need to add its HttpModule to your application. IIS 6.0 and IIS 7.0 Classic mode

    <configuration> <system.web> <httpModules> <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/> </httpModules> </system.web> </configuration>

    IIS 7.0 Integrated mode

    <configuration> <system.webServer> <modules> <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/> </modules> </system.webServer> </configuration> Thank you for asking
  • Re: Error: UploadModule is not installed into web.config

    Hi, I have found that the CuteWebUI conflicts with jQuery. I have a master page in my application and have included jquery files in master page. When I add CuteWebUI control to the page which is having the master page, it is creating the problem. And when I add another page without master page and add CuteWebUI uploader to that page, then its working perfectly.