res://*/StayAtWorkDataModel.msl;provider=System.Data.SqlClient;provider connection string="
Data Source=LNIDDBTUMSQL24\STAYATWORK;Integrated Security=True;MultipleActiveResultSets=True""providerName="System.Data.EntityClient"/>
The difference between the connection strings is that the ENTLib connection connects to a named instance (LNIDDBTUMSQL24\STAYATWORK) while the EF connection connects to the default instance on LNIDDBTUMSQL24.
I did it, I just copied database on my local machine and tried to connect using the following connection strings. In the place of Datasource value it is coming correct, but in the place of Database its always coming as empty String. Did I do any mistake during the entity frameworks mapping to the database because when I debugged following values are coming while connecting to my local database server also context.Connection.Datasource="(local)\STAYATWORK" or ".\STAYATWORK", context.Connection.Database="".
Something should be wrong. Do I need to change anything in this
Yes I added but its doing the same thing, its showing the database name as empty string, is entity framework having any problem connecting the database using Windows authentication. Thats what I am seeing when googling. Should I switch to SQL Server authentication? For that I need to talk to DBA.
I found whats the problem is, if you can help me in solving it, it would be really great. When I am degging when Entity Framework class "StayAtWorkEntities" is trying to get the data from the SQL Server. There it is throwing exception, because application is trying to access the databse using "<domainname>\<machinename>" account instead of "<domainname>\<My User Name>" account.
But this "<domainname>\<machinename>" account, doesnt have access to the Database. Instead I have access to the database.
Now is there any way to force IIS to run these two applications Web Application and a WCF Service under my user account "<domainname>\<My User Name>".
I am also admin on the Server is there any way to force IIS to do that, I have tried by changing the Application Pool Identity to "LocalSystem", "Network Service" in both the cases its running under the same user account "<domainname>\<machinename>" which doesnt have access rights to access the database.
When the demand is higher than the supply, the quality of the supply goes down naturally. This is what is happening with programmers also. Many people choose programming as a profession just because they think it will earn them more money, which is absolutely acceptable if the person is willing to learn and improve themself over time. But unfortunately, the facts seem to be otherwise.
I came to the Code Project to get away from that, eg asp.net forum. Now it has spilled over to here.
I live in Orange County California, and bad programmers are finally being given pink slips, or layed off for lack of skill, and being replaced with much higher paying salaries and benefits, in exchange for the skill set.
I don't mind helping out someone who has at least written some code, and posted a sample. But the ones that phrase the question, and say what is wrong drives me nuts.
I looked at steins master page markup last night, and what a mess. What do you tell them?. There's no way it can work.
As far as this post goes, the customer decides what service to use, not the programmer. Then get the API for it, and if you don't get it, ask for help.
Thanks for chatting with me. Over and out, going bowling.
before jumping to online payment you need to talk to either some banks, payment gateway aggregaters or 3rd party payment service providers.
In india CCAvenue, Billdesk, HDFC and Yespay are good payment gateway aggregaters. Once you are in contract with them you can easily integrate the online payment functionality. The code and integration is merely a couple of hours task maximum and it varies for each gateway provider. [I have worked on integration with each one of the above and believe me it is easy, it should be done carefully but it is easy]
Try to talk to any of the above mentioned providers and get in contract with them and then they will tell you what needs to be done.
Every now and then say, "What the Elephant." "What the Elephant" gives you freedom. Freedom brings opportunity. Opportunity makes your future.