Click here to Skip to main content
15,881,898 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 10:19
mveRichard Deeming2-Nov-17 10:19 
Question.net web form application using javascript Pin
dcof31-Oct-17 4:33
dcof31-Oct-17 4:33 
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 
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 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 
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 

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.