Wednesday, December 03, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Developers  How to build Sp...
 How to build SplendidCRM 2.1 under VS2008?
 
dragoon
21 posts
Joined
6/5/2008

How to build SplendidCRM 2.1 under VS2008?
Posted: 05 Jun 08 4:05 AM Modified By dragoon  on 6/5/2008 4:12:31 AM)
I just fix one problem
1. System.Web.Extensions Error
step 1:
open C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
to replace
<runtime />
with
<runtime>
 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  <dependentAssembly>
   <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
   <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  </dependentAssembly>
  <dependentAssembly>
   <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
   <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
  </dependentAssembly>
 </assemblyBinding>
</runtime>

step2:
open web.config
add
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
in below block
<pages><controls></controls></pages>
like this:
        <pages enableSessionState="true" enableEventValidation="false" validateRequest="false">
      <controls>
        <add ...
        <add ...
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      </controls>
        </pages>

After that, I still got some errors:
1 Could not load type 'SplendidCRM._controls.PartsDesigner'. C:\Program Files\SplendidCRM Software\Web Site\_controls\PartsDesigner.ascx 1
2 Unknown server tag 'SplendidCRM:ExportHeader'. C:\Program Files\SplendidCRM Software\Web Site\Accounts\ListView.ascx 29
Is there any way to fix it?
Thanks.
dragoon
21 posts
Joined
6/5/2008

Re: How to build SplendidCRM 2.1 under VS2008?
Posted: 05 Jun 08 4:55 AM Modified By dragoon  on 6/5/2008 5:08:37 AM)
I find some useful information from other post. I open it by Web Application (not Web Site) then the errors disappear.

But I find one strange thing:
in this file : Web Site\_devtools\WindowsCountries.aspx.cs
I see some strange characters, like this:
Line80:lst.Add("S緌 Tom?, "239");
I have to add " after ? like this
lst.Add("S緌 Tom?", "239");
to fix the error.

I guess it would be a encoding problem, yet I am not quite sure.
support
2153 posts
1st
Joined
1/3/2006

Re: How to build SplendidCRM 2.1 under VS2008?
Posted: 05 Jun 08 7:42 AM

The encoding problem must be on your end as we have tested the WindowsCountries file extensively.

As for the VS 2008 issue, you seem to have resolved the issue.  However, you should undo your changes to machine.config and web.config.  In our tests with VS 2008, we were able to object the project and let it do its automated conversion.

 

dragoon
21 posts
Joined
6/5/2008

Re: How to build SplendidCRM 2.1 under VS2008?
Posted: 06 Jun 08 3:25 AM
After undo the changes to machine.config and web.config, it does not work again. I have to modify web.config to make it work correctly in my environment.
support
2153 posts
1st
Joined
1/3/2006

Re: How to build SplendidCRM 2.1 under VS2008?
Posted: 06 Jun 08 9:20 AM
I'll look into this.
  Mainstream Forums  Developers  How to build Sp...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.