Click here to Skip to main content
15,885,546 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: .net web form application using javascript Pin
ZurdoDev31-Oct-17 5:49
professionalZurdoDev31-Oct-17 5:49 
GeneralRe: .net web form application using javascript Pin
dcof31-Oct-17 12:02
dcof31-Oct-17 12:02 
GeneralRe: .net web form application using javascript Pin
ZurdoDev31-Oct-17 14:27
professionalZurdoDev31-Oct-17 14:27 
GeneralRe: .net web form application using javascript Pin
dcof1-Nov-17 4:42
dcof1-Nov-17 4:42 
GeneralRe: .net web form application using javascript Pin
ZurdoDev1-Nov-17 4:46
professionalZurdoDev1-Nov-17 4:46 
QuestionI am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
indian14330-Oct-17 9:12
indian14330-Oct-17 9:12 
AnswerRe: I am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
Wendelius30-Oct-17 9:18
mentorWendelius30-Oct-17 9:18 
GeneralRe: I am getting following error in Connecting Database from a Web application that's using Entity Framework Pin
indian14330-Oct-17 11:04
indian14330-Oct-17 11: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 18:22
mentorWendelius30-Oct-17 18:22 
QuestionGridView New Record from Empty Cell Pin
Member 1130123127-Oct-17 8:35
Member 1130123127-Oct-17 8:35 
Questionnpm install is failing with the below errors Pin
indian14325-Oct-17 10:24
indian14325-Oct-17 10:24 
QuestionWriting a Web Application from scratch for online trading company - need some tips for security Pin
indian14325-Oct-17 7:59
indian14325-Oct-17 7:59 
AnswerRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
A_Griffin26-Oct-17 1:32
A_Griffin26-Oct-17 1:32 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
indian14330-Oct-17 8:13
indian14330-Oct-17 8:13 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
A_Griffin30-Oct-17 9:10
A_Griffin30-Oct-17 9:10 
GeneralRe: Writing a Web Application from scratch for online trading company - need some tips for security Pin
indian14330-Oct-17 9:15
indian14330-Oct-17 9:15 
QuestionDirectory name invalid error in asp.net Pin
AmKuSa25-Oct-17 2:19
AmKuSa25-Oct-17 2:19 
SuggestionRe: Directory name invalid error in asp.net Pin
Richard Deeming25-Oct-17 3:40
mveRichard Deeming25-Oct-17 3:40 
GeneralRe: Directory name invalid error in asp.net Pin
AmKuSa25-Oct-17 4:16
AmKuSa25-Oct-17 4:16 
GeneralRe: Directory name invalid error in asp.net Pin
Richard Deeming25-Oct-17 4:41
mveRichard Deeming25-Oct-17 4:41 
Questioncustom paging Pin
netbrain software22-Oct-17 0:29
netbrain software22-Oct-17 0:29 
AnswerRe: custom paging Pin
Richard Deeming24-Oct-17 2:02
mveRichard Deeming24-Oct-17 2:02 
QuestionWhat is ASP.net roadmap for a beginner? Pin
Dinxen20-Oct-17 6:08
Dinxen20-Oct-17 6:08 
AnswerRe: What is ASP.net roadmap for a beginner? Pin
Richard Deeming20-Oct-17 6:20
mveRichard Deeming20-Oct-17 6:20 
QuestionCustom Tablix Sort Order Z-A Pin
jkirkerx19-Oct-17 11:30
professionaljkirkerx19-Oct-17 11: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.