Connection name with Entity is out of standard

Asked

Viewed 70 times

1

Whenever I change the database, I need to delete edmx and recreate it, because the update from database is not updating. So far so good. What happens is that he has now created a connection with the name totally out of the pattern. It looks like this:

win-mdsk429aa7b.V99_Web.dbo

Before it was just V99_webentities. This name appears when I give a New Conection and appears in the compound where I have the connections. How do I delete this connection to get back to normal, as it was before? If I don’t change the connection, I will have to change my entire system, out of the question.

When I delete edmx, I also delete the line from my web.config for the deleted edmx.

  • I think that’s the name of the computer. Where do I see this? Where are these names?

  • The deploy didn’t work. I only have the bin folder, the . svc file, Package.config and web.config. The question is: How does deploy know that there is a connection, with a wrong Owner? How did my files transport it? Where can I change it? Is there a way?

  • I deleted edmx and a reference to it remains without errors. I gave an F12 on top of it and showed an edmx, like Metadata. How it appeared if I deleted?

  • I deleted edmx and a reference to it still has no errors. I gave an F12 on top of it and showed an edmx, like Metadata. How did it appear if I deleted it? It creates hidden folders and adds this file: V99support Cnico.Models.V99_webentities.Cs

  • This only happens with the web service, where I delete edmx and still keep working on my svc.Cs without adding it again. I don’t know how, but I deleted the file.

1 answer

1


I need to understand these things well. It was solved. I have a Solution with several projects, being one of them, a Web Service. As I am currently working on the Web Service, it is as my main project and has its components open in the IDE, such as. svc and the interface. Whenever I create a new connection, it gives me this error. What I did. I closed the WS, I opened my own main project, I set it up for the start up project and when I went to create a new edmx, it worked as before. I don’t know why but it was WS.

I hastened. He made the mistake again. I had not. But I had done something wrong. I changed and when I went to do it again, I made the mistake already quoted.

I found out that the name he puts together is the name of the machine the bank is on. And it wasn’t working on IIS because of this: When I published, I had to publish web.config because of a change I made (I never sent web.config, but it was necessary this time). But for me, the web.config was pointing an ip where the bank is. Only this IP is masked and is read only from the outside. Soon, with the web.config tyendo this IP he does not recognize(from within), then he does not find the bank because the IP does not exist for him. I passed to localhost and then it worked. Now yes, everything solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.