New project creation


Author
Message
raymessier
raymessier
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 2, Visits: 9
Development Environment
.NET Framework ver 2.0.50727
Windows Server 2003, Enterprise Edition Build 3790 (Service Pack 2, v.2825)
Visual Studio 2005 Professional Edition ver 8.0.50727.762 (SP.050727-7600)
Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86) Standard Edition

StrataFrame Assemblies I am using
// Assembly MicroFour StrataFrame Base, Version 1.5.0.0
// Assembly MicroFour StrataFrame Business, Version 1.5.0.0
// Assembly MicroFour StrataFrame DBEngine, Version 1.5.0.0
// Assembly MicroFour StrataFrame Extensibility, Version 1.5.0.0
// Assembly MicroFour StrataFrame Inherited UI, Version 1.5.0.0
// Assembly MicroFour StrataFrame Install, Version 1.3.2515.18818
// Assembly MicroFour StrataFrame Security, Version 1.5.0.0
// Assembly MicroFour StrataFrame UI, Version 1.5.0.0
// Assembly MicroFour StrataFrame Install, Version 1.3.2515.18818

 
Steps to re-create
1. Application Database Connections, StrataFrame Data Store is selected, and is valid, Selected
2.  File->New->Project
3. Visual C#->StrataFrame Windows Application
 -- Succeeded
4. StrataFrame->Solution Preferences
 -- No project listed in project drop down, no languages listed, no project listed under security preferences
5. Cancel
6. Save all and rebuild solution
7. StrataFrame->Solution Preferences
 -- No project listed in project drop down, no languages listed, no project listed under security preferences
8. StrataFrame->Business Object Mapper
  -- Odd, the project is listed under available projects here!
9. Highlight project name and select Configure Project under Actions
10. Select New in Choose Project dialog
11. Give project a name, Description, and select the Sql Server connection string (local server, trusted connection, projectname is the db name (the default))
12. Dialog->Save Changes? -- select Yes
First Error-- Broken Rules Exist red arrow highlights the Project Name, "A project already exists with this name"
 -- Now, I created a scratch project using a new name, for sure it did not exist. So I cancel out, and cancel out of the Choose project dialog
 and then close the Business Object Mapper.
 13. Rebuild Project, save all then pull up the Business Object Mapper again, red x next to project name, highlight and select configure project.
 14. Project now available in Choose Project, select it and  hit edit.
 15. Prior information is all there as I added, I then hit the Okay Button. it is at this point I get the unhandled exception error:
 The exception unknown software exception (0xe053534f) occurred in the application at location 0x77e4bee7.
 16. Click Okay, VS crashed out.
 
 I start up VS again, Pull up the Business Object Mapper, Configure Project, Highlight the new project and select "Select", first time I do this it is okay,
 the second time I get the unhandled exception error again?
 
 Does anyone know why or what is happening???

Reply
seekonkray
seekonkray
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 20
Okay, I am ready to give up. This is causing me nothing but grief. I uninstalled Sql2005 and installed Sql 2000 standard sp4, installed the upgraded patch (1.6) and I know get this error

No matter what I do, it keeps trying to use a non-existent odbc connection! I have searched my drive to find where you hide it but I can't.  And before you jump to the obvious,

ConnectionManager.ApplicationKey = "cap";
ConnectionManager.ApplicationDefaultTitle = "cap Connection";
ConnectionManager.ApplicationDefaultDescription = "This application connection is used by cap";
ConnectionManager.AddRequiredDataSourceItem("", "SQL Connection",
DataSourceTypeOptions.SqlServer, "MyDatabase", "This connection is used by cap.");

I have tried to create a vanilla project, after selecting a StrataFrame database connection from the pull down (prior to creating project). Then, I create the project and run it, I am asked for the login information. It loads up all the databases within it and I select the target (cap). Now, I open the business manager and I get the error below!!!!!!!!!!!!!!!

SqlException
 An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Source     : .Net SqlClient Data Provider

Stack Trace:
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Connect(Boolean& useFailoverPartner, Boolean& failoverDemandDone, String host, String failoverPartner, String protocol, SqlInternalConnectionTds connHandler, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean aliasLookup)
   at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.SqlClient.SqlConnection.Open()
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
   at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)
   at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)
   at MicroFour.StrataFrame.Data.DataLayer.GetDataTable(DbCommand Command, Boolean RegisterNotification)
   at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(DbCommand CommandToExecute)
   at MicroFour.StrataFrame.AddIns.DTEprojectsBO.FillProjects(String[] ProjectPaths)
   at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.BuildProjectNode(PartialClassBuilderVSProject Prj)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
raymessier - 18 Years Ago
seekonkray - 18 Years Ago
Trent L. Taylor - 18 Years Ago
seekonkray - 18 Years Ago
seekonkray - 18 Years Ago
                         You can turn on debugging of the data sources used by the StrataFrame...
StrataFrame Team - 18 Years Ago
                             Thanks, I did and got the same failure but captured the debug file. I...
seekonkray - 18 Years Ago
                                 Ray, This file was so large that it was not usable. Would you please...
Trent L. Taylor - 18 Years Ago
                                     I did as you asked. The odd thing is, the debug file is only 7 megs...
seekonkray - 18 Years Ago
                                         For some reasons, when the business object attempts to save the...
StrataFrame Team - 18 Years Ago
seekonkray - 18 Years Ago
StrataFrame Team - 18 Years Ago
seekonkray - 18 Years Ago
Trent L. Taylor - 18 Years Ago
seekonkray - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search