.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

My XML to access a WebSite is not working!!! Help! Help!

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :ASP.Net

I am sending the following xml to access a website and getting the error with the stack.  I have spent weeks on it and getting no where.  Could some one please HELP!!!?  I am willing to pay for the advice as well, as I am getting sick of this!  Thanks in advance for help.  Kel Shorey


<?xml version="1.0" encoding="utf-8"?>
<ers uname="---------------" pword="------------------" myAttribute="fooBar" anotherOfMyAttribute="123456">
    <SalesNote snType="S" action="INSERT" salesContractRef="" saleDate="09/11/2009 00:00:00" auctionID="14" logBookNums="" landingDecNums="" vesselName="Jessica Louise" vesselPln="BM237" vesselMasterOwner="Cowe D" landingDate1="09/11/2009" landingDate2="" landingDate3="" countryOfLanding="GBR" landingPortCode="245">
        <SalesLine speciesCode="JAD" faoAreaCode="27" ZoneCode="VIID" disposalCode="COV" freshnessCode="C" sizeCode="2" presentationCode="FIL" stateCode="FRE" numberOfFish="

View Complete Post

More Related Resource Links

SharePoint 2007 Expiration Policy Not working : Access denied for the site


I have a SharePoint 2007 List with Expiration Enabled in Information and Policy Management. I have a datatime column ExpiryDate which i used in Expiration. On Expiration I have chose to delete the item. Through Central Admin I run the expiration by clicking "Process Expired Items now" button. I got the following error in the Windows event viewer.

Expiration Service for site http://md-rmanimaran failed.

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

EventID: 5016

Category: Information Policy Management 

Where I need to specify the login details to get rid of this error? Anybody Please help..




No Access to Reporting Services Manager Website

Hi, I am trying to  access the report manager website with http://localhost:8080/Reports. I know that this was working in the past with the Administrator user. Now I get the login Form repeatedly and I have no access with any user. With the administrator user I can access the reporting services in Management Studio but not the website. Please help....

MySite Alternate Access Mappings not working

Hi, I had some problems with my upgraded SP2010 server last week. Something happend and the web.config files for each web application was reset to base settings. I had some backup on these files and got everything working again. The only thing that is NOT working is Alternate access mappings for MySites. if I use the server:port url all the webparts work just fine. But when I set it to the AAM I used before the "crash" no webparts work. It is just the message: Web Part Error: "This page has encountered a critical error. Contact your system administrator if this problem persists. " Does anyone have an idea where to start looking for bad configuration? Regards Joakim Gustafsson Stratiteq Sweden

vs 2010 stopped working when i close website

Hi, i have installed latest vs 2010 ultimate on windows 7 it works fine but as i want to close a website  it sayas vs has stopped working restart/debug what should i do?

ASP.net Website - Styles and Java script not working on Mozilla firefox



       I developed a ASP.NET website. The style sheets are loading and the site is working well on Internet explorer. But When I open in Mozilla firefox/ google chorme The sytle sheets doesnt work and the javascript also doesnt work. I am not sure what to do to make my website compatible with firefox/chrome. Can someone tell me what needs to changed or where the problem usually arises in this kind of scenarios?



Website access


If I upload my web application in a server then can I still extract users Windows LogIn ID using :
string ssid = System.Environment.UserName; 
in my web application's User Verification WebPage and use it in following pages by storing it in Session variables? It should be mentioned that I am working in a web application for a company where all employees have their own laptops and they login to the Windows system  using their laptop's windows LogIn Id and password. These loginId has been decided by the company, and so stored in a company database. Employees can't enter the system until they provide correct login Id and password. Server will be company's internal server. Thsi webapplication will be accessible only by the company employees and company has it's own intranet. As far as I know, it should be fine. Please let me know if I am wrong and suggest me something. I want to extract users Windows login Id when they will try to access my web application using the URL (link related to the server where I will upload my application)


SBS 2008 Premium Edition - Securing SQL Server while allowing access from e-commerce website.


Reposted from SBS forum:

I'm currently planning an SBS 2008 Premium Edition installation for a client currently running a five old Win NT / Server 2003  machines to serve a small company (fewer than 50 people).  A complicating factor is that one of their e-commerce websites is currently served directly from their production SQL server - a security risk made necessary by the limitations of their e-commerce software.  In the SBS 2008 plan I would like to protect the production SQL server from the Internet.  My question - is there a way of replicating the production SQL database in real time on a second SQL server outside the firewall?  If not, what other options are available?

I'm not an SQL specialist so I'd also be grateful for links to useful web resources on the topic.

Thanks in advance.


How can I access my sharepoint 2007 website from another machine ?


Hi all,

At the moment i cannot connect sharepoint 2007 server from other machine. Basically Sharepoint 2007 server is up and running an my virtual machine.It works well and I can access it very well from my virtual machine. However i cannot access this sharepoint site from my base machine.

When i enter the address http://moss.mysite.com/Docs/default.aspx it showed this error :

"Internet Explorer cannot display the webpage"

The same address would work in my virtual machine.

What configuration needs to be made for this server to be available to everybody ?


Furthermore i can access other applications of the virtual machine.

For example i can access the K2 workspace from my base machine. The K2 workspace is located in the same virtual machine as the one

for sharepoint.


What could be the issue here ?


Webconfig - Website not working on Production Env



I have created the asp.net application and Hosted on Different Server(i.e Test,Development). its is an Intranet Application

But When I tried to Host on Production the WebApplication dont work when I check the "Integerated Authentication"

and when I check the "anonymous Access" i get null  value for

the HttpContext.Current.User.Identity.Name.ToString() returns null .

and User.Identity.IsAuthenticated also return false.

 what changes do I have to make in IIS and Webconfig of my application so that it can run on ProductionSERVER


Access ASP.Net website in a mobile phone



I have an internal ASP.Net application. We want to extend the accessibility of this application for the users using their mobile phone.

The application runs on an internal server of the company.

Is it possible to open the website(internal within the intranet) in a mobile phone and perform operations?

Thank you,


dsofile.dll not working in VS2008 Website on Windows 7 64-bit machine


Hello Everyone,

I need to extract meta-data of different files, as uploaded by the user.

For this I found out dsofile.dll from MS. Now the problem is that the version I've downloaded from http://www.microsoft.com/downloads/en/details.aspx?FamilyId=9BA6FAC6-520B-4A0A-878A-53EC8300C4C2&displaylang=en is working fine with Windows XP but giving run-time error in Windows 7 64-bit system. Finding more on the error I was getting I came to know that the dll would not work for 64 bit OS. I also downloaded 64-bit from http://www.keysolutions.com/blogs/kenyee.nsf/d6plinks/KKYE-79KRU6 but still am getting below run-time error:

Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154.

I've two questions:

  1. How can I solve this run-time error and from where will I get dll working in VS2008 Website on Windows 7 64-bit?
  2. Is there any other way I can extract meta-data (all the attributes/properties other than exposed by System.IO.FileAttributes) of any file (could be doc, docx, xls, xlsx, jpg, pdf, t

anonymous access not working


I have follow all the instruction provided for turning on anonymous access, but for some reason my site is still prompting for user name/passwrd. I'm using sharepoint 2010 on server 2008, is there a lock down somewhere that prevents anonymous access. I've follow the instruction everywhere (too many to list).

Restrict login access to website from specific machine


Not sure if this is the correct forum section but I need to restrict access to my website by physical PC.  When a user signs up I want to be able to restrict access to one machine for that account so it cannot be shared round, if, for example, somebody else in the same office wanted to access the system on their PC they would need a seperate sign in.

I have done some investigation and I "think" the only way is installing an ActiveX component (which isn't an issue that is restricts to IE only) and then read the users MAC address.  Am I trying to over complicate things or is that the only way?  I realise that MACS can be spoofed but this is not much of an issue.


Alerts not working for Lists on FBA / Anonymous access site


Hi Folks,

I have a WSS3.0 site that allows anonymous access as well as using FBA. Another web application is configured to use the same content database but set with windows authentication.

Anonymous users are allowed to post to a few Lists. I am trying to create an alert for an authenticated user (either FBA or Windows). I receive the "You have successfully created an alert" email, but no emails are sent when new items are added. This is the case for all new list items whether they are added by an authenitcated user or an anonymous one.

I am sure the site config is set correctly (but I will double-check). Is there any reason for the behaviour I am experiencing? I'm not at the latest patch level (we are using the June 2009 CU), so perhaps this was an issue that has been resolved in a later patch/update that I ought to apply?

Would appreciate any gems of information anyone might have on the subject before I go away and write my own event handler to send an email!!!


Session lost when access MVC website by hostname likes http://mypcname/ using IE


Hi experts,

I'm learning asp.net mvc 2, it's very excting with me.

I has built a small MVC2 application, it is working fine in built it ASP.net Development Server. However, there're something wrong when have it deployed in IIS 7.5, Window Server 2008 R2 Enterprise. Session is awlays null when I access the application by IE and use hostname to specify the url.

Using IE (IE 7 or IE8) to access my application with link http://localhost/ or http://<my ip address>/     => every working fine

But when I use IE (IE 7 or IE8) to access my application with link http:/hostname/    => session always null

I'm supprised while FireFox working fine in all cases, both of built in ASP.net Development Server and IIS server, both cases hostname and ip and localhost.

I really appreciate your advise!


window.location='test.aspx' not working on mobile website


Hello frds,

I'm having one problem in mobile website using jquery.

i have written a code on button click to redirect using window.location='test.aspx' it doesn't work event my javascript validation is also not worked. how to explain if your in other country give error 406 forbidden access is deny.



Bulk Insert into Access Database not working for template fields in gridview



I have a gridview with 5 columns

4 are fetched from database through select command from table CSDB_MASTER

5th is a template field textbox which consists of value 3 by default

now i have a button down to the gridview with the following code below

everything is being inserted except the value of textbox, when i open my database the field NOC which should be inserted with grv.cells[5].Text i.e, the textbox value is null

Please Help Me Out in this issue


protected void Button1_Click(object sender, EventArgs e)

        OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\masterdb.accdb;Persist Security Info=False;");
        OleDbCommand cmd = new OleDbCommand();
        cmd.Connection = con;

        foreach (GridViewRow gvr in GridView1.Rows)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend