CodeSmith Community
Your Code. Your Way. Faster!

invalid solution file generated

Latest post 12-12-2006 5:38 PM by mike123. 6 replies.
  • 12-12-2006 7:35 AM

    invalid solution file generated

    i created a test project using nettiers 2.0 and when it compiled successfully , i tried to open the solution and visual studio 2005 team studio edition told me it's not a valid visual studio solution file .
    what is it ?
    i could not even run the generated web project it gives errors in config file :
    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 type 'EmdadFa.Web.Data.EntityTransactionModule'. (C:\NetTiers\EmdadFa\EmdadFa.Website\web.config line 52)

    Source Error:

    Line 51: <httpModules>
    Line 52: <add name="EntityTransactionModule" type="EmdadFa.Web.Data.EntityTransactionModule"/>
    Line 53: </httpModules>


    • Post Points: 35
  • 12-12-2006 9:06 AM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 735
    • Points 17,045

    Re: invalid solution file generated

    mohscorpion,

    This issue seem to come up ... Make sure you have a reference to your EmdadFa.Web.dll in your web project

    mohscorpion:
    i created a test project using nettiers 2.0 and when it compiled successfully , i tried to open the solution and visual studio 2005 team studio edition told me it's not a valid visual studio solution file .
    what is it ?
    i could not even run the generated web project it gives errors in config file :
    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 type 'EmdadFa.Web.Data.EntityTransactionModule'. (C:\NetTiers\EmdadFa\EmdadFa.Website\web.config line 52)

    Source Error:

    Line 51: <httpModules>
    Line 52: <add name="EntityTransactionModule" type="EmdadFa.Web.Data.EntityTransactionModule"/>
    Line 53: </httpModules>


    Mike Shatny
    --------------------------------------------------------------
    Member of the .netTiers team http://www.nettiers.com
    --------------------------------------------------------------

    • Post Points: 35
  • 12-12-2006 10:02 AM In reply to

    Re: invalid solution file generated

    Where is that dll ?
    i couldn't find it in created files.
    thanks for help
    • Post Points: 35
  • 12-12-2006 10:29 AM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 735
    • Points 17,045

    Re: invalid solution file generated

    Right-click on your website project solution -> add reference -> Projects ->  double-click EmdadFa.Web

    mohscorpion:
    Where is that dll ?
    i couldn't find it in created files.
    thanks for help

    Mike Shatny
    --------------------------------------------------------------
    Member of the .netTiers team http://www.nettiers.com
    --------------------------------------------------------------

    • Post Points: 35
  • 12-12-2006 3:40 PM In reply to

    Re: invalid solution file generated

    hi
    thanks for help i checked and i found a reference was there before .
    i solved first problem but got into second !
    when i go to admin section and try to open a table i gives following error :
    Unable to load default NetTiersProvider
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Configuration.Provider.ProviderException: Unable to load default NetTiersProvider

    Source Error:


    Line 103: if (_provider == null)
    Line 104: {
    Line 105: throw new ProviderException("Unable to load default NetTiersProvider");
    Line 106: }
    Line 107: }

    Source File: C:\NetTiers\EmdadFa\EmdadFa.Data\DataRepository.cs Line: 105

    ------------
    thanks again

    • Post Points: 5
  • 12-12-2006 4:45 PM In reply to

    Re: invalid solution file generated

    it solved thanks it was a bug in my tries not nettiers . but i just wanted to ask where can i find a complete reference of this nice pack ? i need to know how to use and customize it . thnx
    • Post Points: 35
  • 12-12-2006 5:38 PM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 735
    • Points 17,045

    Re: invalid solution file generated

    Awesome.

     Take a look here:

    http://wiki.nettiers.com/
    http://community.codesmithtools.com/forums/33/ShowForum.aspx

    mohscorpion:
    it solved thanks it was a bug in my tries not nettiers . but i just wanted to ask where can i find a complete reference of this nice pack ? i need to know how to use and customize it . thnx

    Mike Shatny
    --------------------------------------------------------------
    Member of the .netTiers team http://www.nettiers.com
    --------------------------------------------------------------

    • Post Points: 5
Page 1 of 1 (7 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems