Click here to Skip to main content
14,740,393 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: Regular Expression to get only the first 30 alphabets from a big string Pin
Richard Deeming2-Nov-17 11:19
mveRichard Deeming2-Nov-17 11:19 
Question.net web form application using javascript Pin
dcof31-Oct-17 5:33
Memberdcof31-Oct-17 5:33 
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 
Hi,

I have a Web application which is connecting a Database called 'xxxxDashboard', when I try to access this same Database using Sql Server Management Studio I am able to and access all the tables. But if the same login happening from the WebApplication that I have on my machine, its not allowing me, its giving me the error
as below that login failed for the user and machine. This is a Web Api Web application running from IIS not from IIS Express or not from the External Host etc but purely from local IIS.
Cannot open database \"xxxxDashboard\" requested by the login. The login failed.\r\nLogin failed for user 'ABC\ABCWL753274$

The underlying provider failed on Open.

Source: Entity Framework

Stack Trace:
   at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
   at System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions)
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func<code>1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery</code>1.<>c__DisplayClass7.<GetResults>b__5()
   at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func<code>1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery</code>1.GetResults(Nullable<code>1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery</code>1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator<code>1.MoveNext()
   at System.Collections.Generic.List</code>1..ctor(IEnumerable`1 collection)

Fully qualified name:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ibdashboardservice\954176a0\e5e5593e\assembly\dl3\74937bd0\007175d9_0e55d001\EntityFramework.dll

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="data source=xxxx569s,xxxxx1;initial catalog=InventoryDashboard;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providername="System.Data.EntityClient">

Is there any problem in my Connection String?

Any help would be greatly helpful thanks in advance my friends.

Thanks,

Abdul Aleem

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

-- modified 30-Oct-17 17:41pm.
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 
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 

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.