• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide

    Reply
    Member
    Posts: 4
    Registered: ‎02-19-2013

    ManagedMC3 Error

    309 Views, 1 Replies
    02-19-2013 11:39 PM

    Hi everyone;
    I want to make a simple application about MapGuide 

     string webLayout = "Library://SheBoyganPublic/WebLayouts/Test.WebLayout";
            string defaultUser = "Anonymous";
            string defaultPassword = "";
            string sessionId = "";
            
            protected void Page_Load(object sender, EventArgs e)
            {
                try
                {
                    MgUserInformation userInfo = new MgUserInformation(defaultUser, defaultPassword);
                    MgSite site = new MgSite();
                    site.Open(userInfo);
                    sessionId = site.CreateSession();
                }
                catch (Exception ex)
                {
                    Response.Write(ex.Message);
                }
    
            }

    I copied sample code from Setup Folder, Then I add all OsGeo dll's then published under IIS 
    when I open published page I get error like following text 
    My IDE Visual Studio 2010 Supports x64, AutoDesk Infrasracture Map 64 bit and IIS application pool supports 64 bit application I set to false 32 bit application compatibility from IIS, my IIs versiyon 7

     

    How do I run this code, My AutoDesk Infrasracture Server is Trial

    ERROR TEXT :
    'ManagedMC3' file, or the compilation or one of its dependencies. Strong name signature could not be verified. The file, or the file can be played on the delay signed but not the correct private key can be fully signed. (Exception from HRESULT is returned: 0x80131045)



    Please use plain text.
    Member
    Posts: 4
    Registered: ‎02-19-2013

    Re: ManagedMC3 Error

    02-20-2013 01:17 AM in reply to: AliKara1

    I fixed  this error with adding InitializeWebTier method before codes

    thanks

    Please use plain text.