I created a web site in ASP.NET 2005 and I am trying to add a web service located on another server. I can call manualy from IE the web service by pasting the URL below. I can type USER ID & PASSWORD and when I click INVOKE I get approval. When I try to add web refence to my web site for using web service I get error "The request failed with HTTP status 400: Bad request: request-line invalid." and I cannot add reference. [URL] What could be the problem?
we have an existing ASP.net application that is undergoing expansion. The new functionality is all written in Silverlight 4. As part of that expansion I gutted all the old Linq to SQL and put Entity Framework 4 into place. To do this I created a standard .net Class Library and added my edmx files there. Naturally, the business entities created by this cannot be used in Silverlight. So I created a Silverlight Class Library and added all the business entities to that Silverlight Class Library as linked files. I changed the name space to be the same.
So I have the following assembly / namespaces
Company.Project.Dal.csproj / Company.Project.Entities (.net 4 class library)
Company.Project.Entities.csproj / Company.Project.Entities (SL4 class library)
With this architecture I was able to share my business entities with my SL enabled web services, my asp.net projects, my silverlight projects. Really it's a beautiful thing.
Once this was done I added "message" classes to Company.Project.Dal and again shared them with the other entites using linked files. These messages are things like MyObjectRequest; they are classes that have properties that can set to the ID of the record in the database you want to get, a search string for filtering by last name, first name, etc. (This is in the style of the Web Service Factory if you're familiar with that.)
Finally I turned the whole message into a generic using a base class called EntityRequest
[code]...
I corrected this error and everything went well for a week until I had to make my first change to the service interface. I added a new operation contract, clicked the handy Update Service Reference on my client and boom.
I am using some webrefernces for reporting services. The first time they load they are really really slow. Is there any way to reference the files locally?
I bind custom DataTable to DataGrid through ObjectDataSource, where i use SelectMethod and UpdateMethod. SelectMethod working great, but when I try to update row it's breaking by MissingMethodException. What should i do to fix this problem?
Im using Visual Web Developer 2010 Express and have put together a custom form using ASP controls and labels.
I now need to update an access database with the data that is captured on the form. I have added an AccessDataSource but do not know how to link the fileds to the fileds within the database so that when I click submit it updates the table.
At my old job, i had a report server that was very stable. I was using VS2005, and when i added a crystal report to the website, there was a vb file generated for the report. At my current job, i am using VS2008, and the VB file is no longer generated for the report, and there is no "Run Custom Tool" command when you right click on the report in the solution explorer.I would really just like to test the reports where i can declare the report as a variable and launch the report like i used to, but now i seem to be forced to use the ReportSource control along with the ReportViewer control....and the results are sporadic at best. I get very random "report source invalid", "load report failed", and other undescriptive errors. this is unsatisfactory for these .Is there a configuration thing I am missing, or will I need to go back to VS2005, re-add all the files to a VS2005 project, and start all over, just in order to test and see if maybe it's the reportsource control causing all of my current problems?
I am trying to create strogly typed datasets for my project. When I right click on the xsd file that I need to generate a strongly typed dataset for I can't find the 'Advanced' properties as described in the below article (almost half way down)[URL]As I do not see the Advanced properties option I can't find the 'Custom Tool' property/option to set its value to 'MSDatasetGenerator'. Do I have to install some kind of patch on my VS 2005?
I m facing problem updating a method which shows the count on master page. That method is bind to treeview control.Whenever a data is saved count is incremented to one. but method gets refreshed only when there is a postback. I want it to be updated after every few seconds or whenver there is data saved. there is pretty gud solution with custom ajax that is with json. But that is not possible with exiting solution.i have to redesign the complete treeview structure in html. And with timer control of ajax whole page gets refreshed.
I just added web reference to my web application.When running the application its giving the compilation error.Following is the exact problemThe web service which i am referring is also developed by me.The web service is working fine.
So I sometimes use app_offline.htm to take an app offline while I upload a new version.However, while I am in the process of uploading larger dll's, I get the yellow error-screen saying the dll could not be loaded.This seems to be out of sync with my expectations of what app_offline.htm does (stops the app entirely), and also provides the users with errors in stead of the nice app_offline.htm I put up.Am I doing something wrong or is this behavior by design?
I am runnign the SQL 2005 with Membership structure and two web-applications on the same server box. Each web application uses its own Application Name in aspnet_Applications table. There are two application names. The users from web-app1 could not login to web-app2. Each web-apps uses different Application Pool. Each providers section of Membersip use correct applicationName from aspnet_Applications. The first application is working correct.
The problem is that sometimes the users could not login to web-application 2 during day. I get error Event code: 4006 Event message: Membership credential verification failed. The users start to login again after I Recycle - Stop - Start Application Pool of this web application.
Does anyone know of any good sites / links where i can learn how to program the ASP.Net FileUpload tool? I'm using VB and i need to upload files from a users workstation to a shared network server within my company. The idea is that each file will be pre-fixed with an incident reference number so that the admins of my application can easily find each file relating to a particular incident. I've found a few sites and tutorials myself but most of them seem to be in C# instead of VB.
I have this below code in Gridview, a field has to display comments both in text and tool tip. Text it is dispalying properlyeven if it is 100 lines but tooltip it is displaying only 10 or 20 lines only,What is the maximum lenght a tool tip can display
im developing a web application that depends on video and audio conferencing,and i want to use an API or some tool to integrate it with my system,wonderin what is the most common easy tool used for this kind of web applications?
I found the video for creating a Contact Us page using the 2005 Express Edition of Visual Web Developer, but I got stumped when he dropped a table onto the wizard. I can't figure out how to do that in the 2010 version. Is there a video for creating a Contact Us page using the 2010 version?
I want to create a if statement which i select an area on a imagemap then the corresponding label discription will appear and corresponding image. The code if what i have so far
Protected Sub ImageMap1_Click(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ImageMapEventArgs) Handles ImageMap1.Click If e.PostBackValue = "ME" Then
Image1.ImageUrl = "F:WebSite1imagesone.jpg" & label1.text="Me" <------- How do you join a label and image selection in one if statement i keep getting errors on this and image doesnt load also
ElseIf e.PostBackValue = "Car" Then Label1.Text = "CAR" & Image1.ImageUrl = "F:WebSite1images wo.jpg" ElseIf e.PostBackValue = "Mysister" Then Label1.Text = "My sister" &Image1.ImageUrl = "F:WebSite1images wo.jpg" Else Label1.Text = "" End If End Sub
I am quite to this and have a question regarding tools... I have two .aspx pages, one has an .AJAX timer and the other one does not. I need to able to set that timer interval (not to send, but to set it!) from the other page, the one that does not have it. Is this possible in ASP.NET?
I am trying to add Failed Request Tracing to my IIS 7/ASP.NET server.
First, I create failed request tracing for "all content, error codes 400-999" because want to save all errors.
Then, I try to create a trace for "all content, time: 5 seconds" because I want to trace all "long" requests. However, IIS 7 gives me an error: "A failed request trace for this content already exists".How can I add this second trace for all content that takes > 5 seconds?