Click here to Skip to main content
15,112,866 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .net web form application using javascript Pin
ZurdoDev31-Oct-17 6:49
professionalZurdoDev31-Oct-17 6:49 
GeneralRe: .net web form application using javascript Pin
dcof31-Oct-17 13:02
Memberdcof31-Oct-17 13:02 
GeneralRe: .net web form application using javascript Pin
ZurdoDev31-Oct-17 15:27
professionalZurdoDev31-Oct-17 15:27 
GeneralRe: .net web form application using javascript Pin
dcof1-Nov-17 5:42
Memberdcof1-Nov-17 5:42 
GeneralRe: .net web form application using javascript Pin
ZurdoDev1-Nov-17 5:46
professionalZurdoDev1-Nov-17 5:46 
QuestionI am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
indian14330-Oct-17 10:12
Memberindian14330-Oct-17 10:12 
AnswerRe: I am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
Wendelius30-Oct-17 10:18
mveWendelius30-Oct-17 10:18 
GeneralRe: I am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
indian14330-Oct-17 12:04
Memberindian14330-Oct-17 12:04 
ABCWL753274 is not my user name its just my machine name, is it trying anonymous login that's the information I am looking for. But the ABCWL753274 is just my machine name as far as I know.

My connection string is as below, is there any problem in my Connection string:
<add name="InventoryDashboardEntities" 
     connectionString="metadata=res://*/IBDashModel.csdl|res://*/IBDashModel.ssdl|res://*/IBDashModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=xxxx569s,xxxxx1;initial catalog=InventoryDashboard;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" 
     providerName="System.Data.EntityClient"/>

Is there any problem in the above Connection String?

But if I use the below Connection String, its giving me the error as below:
<add name="InventoryDashboardEntities"
="" connectionstring="Data Source=WSQL569S,50101;Initial Catalog=InventoryDashboard;Integrated Security=True" providername="System.Data.SqlClient">

The error it is showing is:

The context is being used in Code First mode with code that was generated from an EDMX file for either Database First or Model First development. This will not work correctly. To fix this problem do not remove the line of code that throws this exception. If you wish to use Database First or Model First, then make sure that the Entity Framework connection string is included in the app.config or web.config of the start-up project. If you are creating your own DbConnection, then make sure that it is an EntityConnection and not some other type of DbConnection, and that you pass it to one of the base DbContext constructors that take a DbConnection. To learn more about Code First, Database First, and Model First see the Entity Framework documentation here: http://go.microsoft.com/fwlink/?LinkId=394715

Thanks,

Abdul Aleem

"There is already enough hatred in the world lets spread love, compassion and affection."

-- modified 30-Oct-17 18:36pm.
AnswerRe: I am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
Wendelius30-Oct-17 19:22
mveWendelius30-Oct-17 19:22 
QuestionGridView New Record from Empty Cell Pin
Member 1130123127-Oct-17 9:35
MemberMember 1130123127-Oct-17 9:35 
Questionnpm install is failing with the below errors Pin
indian14325-Oct-17 11:24
Memberindian14325-Oct-17 11:24 
QuestionWriting a Web Application from scratch for online trading company - need some tips for security Pin
indian14325-Oct-17 8:59
Memberindian14325-Oct-17 8:59 
AnswerRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
A_Griffin26-Oct-17 2:32
MemberA_Griffin26-Oct-17 2:32 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
indian14330-Oct-17 9:13
Memberindian14330-Oct-17 9:13 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
A_Griffin30-Oct-17 10:10
MemberA_Griffin30-Oct-17 10:10 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
indian14330-Oct-17 10:15
Memberindian14330-Oct-17 10:15 
QuestionDirectory name invalid error in asp.net Pin
AmKuSa25-Oct-17 3:19
MemberAmKuSa25-Oct-17 3:19 
SuggestionRe: Directory name invalid error in asp.net Pin
Richard Deeming25-Oct-17 4:40
mveRichard Deeming25-Oct-17 4:40 
GeneralRe: Directory name invalid error in asp.net Pin
AmKuSa25-Oct-17 5:16
MemberAmKuSa25-Oct-17 5:16 
GeneralRe: Directory name invalid error in asp.net Pin
Richard Deeming25-Oct-17 5:41
mveRichard Deeming25-Oct-17 5:41 
Questioncustom paging Pin
netbrain software22-Oct-17 1:29
Membernetbrain software22-Oct-17 1:29 
AnswerRe: custom paging Pin
Richard Deeming24-Oct-17 3:02
mveRichard Deeming24-Oct-17 3:02 
QuestionWhat is ASP.net roadmap for a beginner? Pin
Dinxen20-Oct-17 7:08
MemberDinxen20-Oct-17 7:08 
AnswerRe: What is ASP.net roadmap for a beginner? Pin
Richard Deeming20-Oct-17 7:20
mveRichard Deeming20-Oct-17 7:20 
QuestionCustom Tablix Sort Order Z-A Pin
jkirkerx19-Oct-17 12:30
professionaljkirkerx19-Oct-17 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.