Problem installing

Last post 05-20-2009, 9:00 PM by cutechat. 11 replies.
Sort Posts: Previous Next
  •  05-15-2009, 2:47 PM 52206

    Problem installing

    I have a problem when installing the DLL
     
    1) Copied all the 2 files (CuteWebUI.AjaxUploader.dll, AjaxUploader.lic) of the demo version to BIN directory
     
    2) Modified the web.config as suggested:
     

    <httpModules>

    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

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

    </httpModules>

     
    I'm pretty sure I'm using Classic Mode (Win Vista). I also tried the other way. No luck.
     
    I throws an error:
     
     

    Server Error in '/' Application.

    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 'CuteWebUI.AjaxUploader' or one of its dependencies. The module was expected to contain an assembly manifest. (C:\Inetpub\wwwroot\XXX\web.config line 96)

    Source Error:

    Line 94:     <httpModules>
    Line 95:       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 96:       <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    Line 97:     </httpModules>
    Line 98: 	</system.web>
     
    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
     
     
    It looks that the DLL file is corrupted or something like that???
     
    Thanks,
    F
     
     
     
    Filed under:
  •  05-15-2009, 2:52 PM 52208 in reply to 52206

    Re: Problem installing

    Francisco,
     
    It looks like the DLL is not copied to the right location.
     
    Can you show me the file structure of your site?
     
    Have you create an application for testing?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-15-2009, 3:24 PM 52211 in reply to 52208

    Re: Problem installing

    Hi Adam,
     
     The application is one I'm working on right now. It's not different.
     
     This is my BIN folder:
     
     
     
    The thing is that I cannot use the entire application.
     
     
    Regards,
    Francisco.
  •  05-15-2009, 3:30 PM 52212 in reply to 52211

    Re: Problem installing

    Adam,
     
     I've just tried using a NEW application (Win Vista, Classic Mode), and I get the same problem.
     
    I copy-pasted the "Framework 2.0-VB-MicrosoftAjax" example.
     

    Server Error in '/' Application.

    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 'CuteWebUI.AjaxUploader' or one of its dependencies. The module was expected to contain an assembly manifest. (C:\Inetpub\wwwroot\TestUploader\web.config line 38)

    Source Error:

    Line 36:       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 37:       <!-- UploadModule is optional , for the property Uploader.ShowProgress -->
    Line 38:       <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    Line 39:     </httpModules>
    Line 40:   </system.web>

    Source File: C:\Inetpub\wwwroot\TestUploader\web.config    Line: 38


    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
     
    Filed under:
  •  05-15-2009, 3:54 PM 52214 in reply to 52212

    Re: Problem installing

    It's very strange.
     
    Can you download the control again and try reuploading the /bin/ directory from the package to your website?  If that fails to work, can you ensure that ASP.NET has read access to the /bin/ directory so it can read the bin folder?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-18-2009, 2:55 AM 52262 in reply to 52211

    Re: Problem installing

    Francisco,
     
    What server do you host the application ??
     
    The IIS , or Vistual Studio Web Server?
     
    Why the folder displayed in VS is "PushRoom" and the page you get error is 'C:\Inetpub\wwwroot\TestUploader\web.config' ?
     
    Regards,
    Terry
     
  •  05-18-2009, 12:24 PM 52275 in reply to 52262

    Re: Problem installing

    Hi Terry,
     
     I'm using IIS (Win Vista). You see PR and then TestUploader because first I tried this in an already developed application. As it didn't work, I created a simple Site with just one of your examples, and called it TestUploader.
     
     I'm using IIS 7 instead of VSWeb Server due to the fact that we're developing in a network. But anyway, there must be something very weird. I tried this in 2 Win Vista, using both IIS and VSWeb Server. Same issue:
     
     Then I created everything again in a Win XP machine and there it works fine (IIS 6). The problem is that the XP machine is a MAC laptop that is running XP under Parallels (Virtual machine) and we cannot rely on it to develop, apart from changing everything to it.
     
    This is what gives me:
     
     

    Server Error in '/' Application.

    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 'CuteWebUI.AjaxUploader' or one of its dependencies. The module was expected to contain an assembly manifest. (C:\Inetpub\wwwroot\TestUploader\web.config line 38)

    Source Error:

    Line 36:       <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 37:       <!-- UploadModule is optional , for the property Uploader.ShowProgress -->
    Line 38:       <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
    Line 39:     </httpModules>
    Line 40:   </system.web>

    Source File: C:\Inetpub\wwwroot\TestUploader\web.config    Line: 38


    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074
     
     
    Any idea?
     
    Could it be possible for you to compile the DLL in a WinVista machine and send it to me? I read in some forums that this is what usually solves the problem.
     
    I'm interested in your product, as far as I've seen up to now, it's powefull. It may happen that other Vista users have the same problem. As you know, Vista is quite a good environment to develop as it's cheap (OEM license) and allows multiple Websites at the same time. Besides, we only have an XP machine to test IE6 and Firefox 2 at the end of the development process.
     
    Regards,
    F
     
    Filed under:
  •  05-18-2009, 12:45 PM 52278 in reply to 52275

    Re: Problem installing

    I tried adding the control to the Toolbox, browsing it, and this error appears. I had exactly the same error when installing AjaxControlToolKit 1.0. What I did was to download the source code and recompile it.
     
    I know that it's impossible for you to give us the source code, but you could try compiling it in a Vista machine to see if that works. If not, then there won't be any solution...
     
    Regards,
    Francisco
     
     

    Filed under:
  •  05-19-2009, 11:41 AM 52314 in reply to 52262

    Re: Problem installing

    One question, Do you compile in Asp.Net 2.0 or 2.0 SP1?
     
    It seems that the problem is created by a different version of ASP.Net 2.
     
    My version is: 2.0.50727.3074  (System.Environment.Version.ToString()) 
     
    Regards,
    Francisco
     
     
  •  05-19-2009, 1:08 PM 52320 in reply to 52314

    Re: Problem installing

    Francisco,
     
    The control is compiled using the following version.
    Microsoft .NET Framework
    Version 2.0.50727 SP2
     
    We've tested it using Vs2008 and it doesn't have any problems.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-20-2009, 8:39 AM 52352 in reply to 52320

    Re: Problem installing

    Perhaps these suggestions might help;

    1. The httpModules section has moved in IIS 7 from the system.web namespace to system.webserver. Try moving your httpModules section there in your web.config.
    2. In Vista, you may want to ensure that your web.config file has the correct NTFS permissions and allow access to the web server's machine account. (typically NetworkService but you can change this in iis)
    3. Verify that the cuteWebUI dll has the correct permissions assigned.

    I can verify that this control works under IIS 7 without error. I'm using the latest build here (favicon/iphone-icon creator) which is running under IIS 7 on win server 2008.


    Regards, Greg [edited by: delamitry at 8:43 AM (GMT -5) on Wed, May 20 2009] Noticed you mentioned classic mode. Try switching to integrated in iis 7 and using suggestion 1 above.
  •  05-20-2009, 9:00 PM 52372 in reply to 52314

    Re: Problem installing

    Francisco
    Please try Framework 1.x-VB\bin , it is compiled by DOT.NET 1.1
     
    Regards,
    Terry
     
View as RSS news feed in XML