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


Post New Web Links

Local IIS doesn't serve up or (IE doesn't display) any XML based documents.

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ADO.Net
 

I can not display any XML based documents hosted on my local IIS. It refuses to serve even the simples for xml documents. I cannot, for example, run 'svcutil.exe http://localhost/my.wsdl' but I can 'svcutil.exe C:\Intetpub\wwwroot\my.wsdl'. None of my websites display properly. I may add that I'm running IIS 7 on Win2008R2, 64bit hosted in VM.




View Complete Post


More Related Resource Links

MVC 2 doesn't display in IE

  

I started to learn MVC 2, VS 2010 ultimate created MVC application . using file not IIS 7. My application When I hit F5, I get an error.

IN IE bar, I have http://localhost:5388/views/home/index.asp

Then, in the page : The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

request url /views/home/index.

I searched some forums, understood that "views" should not be displayed. I tried http://localhost:5388/home/index.asp, it doesnt work, same error.

Am I missing any config or parameter.

Thanks in advance


Balloon Tooltip doesn't display at the correct position when form is maximized

  
Having a problem with display balloon tooltip at the right bottom of form, the balloon tooltip displays fine if form is not maximized. However, the balloon tooltip doesn't display at the correct location when form is maximized(I guess because there is no room to display it on the right bottom of screen, so it moves up a bit). Is there a way to correct it? Such as displaying the balloon tooltip box above the control with stem points to the control. It displays the tooltip box below  the control right now which might cause the issue. Any help will be great appreciated.

Balloon Tooltip doesn't display at the correct position when form is maximized

  
Having a problem with display balloon tooltip at the right bottom of form, the balloon tooltip displays fine if form is not maximized. However, the balloon tooltip doesn't display at the correct location when form is maximized(I guess because there is no room to display it on the right bottom of screen, so it moves up a bit). Is there a way to correct it? Such as displaying the balloon tooltip box above the control with stem points to the control. It displays the tooltip box below the control which might cause the issue. Any help will be great appreciated.

SSRS Report based on SSAS Cubes doesn't show NULL values correctly

  
I have a SSRS report which is based on an SSAS Cube. In the Cube the formating of numeric fields that NULL values are properly shown as NULL values. In the Cube Browser and Excel this is shown correctly. However when I design the report already the query against SSAS shows these fields as "0" instead of NULL. Is there a way to fix this or is this a bug ?  

ajax accordion with gridview doesn't display data

  

hi guys,

im trying to display some data using a gridview inside ajax accordion. i have called the method accordion1_itemBound at the accordion properties but it still doesnt show me any data at the gridview... i check all my query string and everything seems find. would really appreciate if someone could check my code and teach me how to solve it.

below are my codes at the source page

<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:ProrsumDBConnectionString %>" 
            SelectCommand="SELECT [reviewID], [comments], [reviewDate] FROM [Review]">
        </asp:SqlDataSource>
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
       
    </div>
    
        <asp:DataList ID="dlProdCatalog" runat="server">
            <ItemTemplate>
                <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("pictureURL") %>' />
                <br />
                Tour Title:
                <asp:Label ID="tourTitle

Report Model based on Analysis Services Cube doesn't work

  

Hi all,

I am working in BIDS and would like to create a Report Model based on a cube.

Creating a Data Source based on SSAS goes well, but when I want to make a Data Source View, the earlier created Data Source doesn't show up, which is necessary for the final resulting Report Model.

Could somebody help me out in solving this issue? (And also tell me why this is issue is rising?)

Daniel

SQL Server 2008 & BIDS 2008 (Version 9.0.3x)


AsyncFileUpload doesn't display in ModalPopupExtender

  

As far as I can see, the following code should make an AsyncFileUpload display in ModalPopupExtender. The MPE shows fine but the AsyncFileUpload doesn't load inside it. Please let me know if you see anything amiss. I also tried removing the update panel and putting the divs both inside and outside of the update panel, all with the same (lack of) results. And the AsyncFileUpload displays and works outside of the MPE.

In ListView EditItemTemplate:

<asp:UpdatePanel ID="udpUpload" UpdateMode="Conditional" runat="server">
    <ContentTemplate>
        <div class="profile-with-border">
            <asp:Button ID="btnUpload" Font-Bold="False" TabIndex="160" Text="Upload/Change Photo"
                OnClick="btnUpload_Click" UseSubmitBehavior="False" runat="server" />
            <br />
            <atk:ModalPopupExtender ID="mpeUpload" BackgroundCssClass="modalBackground" DropShadow="true"
                OkControlID="btnOK" CancelControlID="btnClose" PopupControlID="pnlPopup" TargetControlID="btnUpload"
                OnOkScript="mpeUpload_OK" runat="server" />
        </div>
   

datetime problem when save into table, doesn't display currentdate

  

Hi.
I have a gridview. in this gridview, I can checked a row to select the row. And I can save the row into database. I also have datetime (current date) and idsubject 
out of this gridview. I want to save date and idsubject in database, simultanously with save the checked field in gridview. I write the following code
and can save all three of them. But I have problem with the date. it doesnt save the current date, instead it appears 01/01/00 0:00:00 in table.
I dont know what is the problem.

Hi.


I have a gridview. in this gridview, I can checked a row to selec

Image doesn't display in the TextBlock!

  

This is my code.

 

   Image imgMessage = new Image();
      BitmapImage bi = new BitmapImage();

      bi.BeginInit();
      bi.UriSource = new Uri(@"/imgMessage.png", UriKind.RelativeOrAbsolute);
      bi.EndInit();

      imgMessage.Source = bi;


      TextBlock tb = new TextBlock();
      InlineUIContainer iuc = new InlineUIContainer(imgMessage);
      tb.Inlines.Add(iuc);
      Grid1.Children.Add(tb);

 

 

that code is image shows a TextBlock within the code.


But, isn`t work!

SharePoint 2010 - Photo Displays in MySite - Photo Doesn't Display in Contact List

  

MySite is up and running fine.  I am adding photos through Central Administration > Manage User Profiles.  All photos are syncing and showing up in contact lists whenever someone is added to a "Person or Group" Name (with picture) column. 

I recently added someone, uploaded their photo.  It syncs fine with AD, can see it in the thumbnailPhoto attribute for this user.  I looked in the UserProfile_Full.PictureURL column in the Profile DB.  It is there as well (http://sharepoint:80/my/User Photos/Profile Pictures/DOMAIN_USERNAME_MThumb.jpg).  The photo refuses to display in the contact list. 

This is only happening for one user.  Any ideas?


Beginner: this doesn't make sense to me

  

Do you need and "empty" script tag in the head to run scripts that are in the body?  Also, can you run JQuery scripts if they're in the <head> tag?  The first sample only works if the JQuery script is in the form (and body) tag, not in the head - even if I add $(document).ready(function() { });

This works

<head runat="server">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" />
<script type="text/javascript">
</script>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<a href="">Here is a link</a>
</div>
<script type="text/javascript">
$('a').click(function () {
alert("you clicked me!");
});
</script>
</form>
</body>
</html>

 

This doesn't work.  Notice I removed the second <script> tag from the head

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="serve

WPF: Flexible Content Display With Flow Documents

  

Markus Egger discusses all the flexibility and power of flow documents in Windows Presentation Foundation

Markus Egger

MSDN Magazine August 2007


{ End Bracket }: Legal Doesn't Think the Way You Do

  

If you develop software for a large company, you've undoubtedly experienced the joys of dealing with "Legal. " The meetings, the endless explanations, the long waits. I'm here to report from the other side.

Don McGowan

MSDN Magazine March 2006


Advanced Basics: Building a Progress Bar that Doesn't Progress

  

In many situations, accurately estimating the length of a certain process (copying a large file, loading data from a server, retrieving files from the Internet) would be both difficult and inefficient.

Duncan Mackenzie

MSDN Magazine October 2004


Want to create Page URL rewrite based on Users GUID and Display name?

  

hi,

I am using the asp.net membership. 

On my site I have a Profile.aspx page.

In the code behind of this page,  i get the logged in UserId (Guid) and pass

this to a method in my DAL. GetUserByUserId()

 

In my database I have a Table called Member which the method gets the data from

and displays details on the page about  the user.

 

What I want to happen is when they have logged in and are diverted to Profile.aspx,

the page URL shows www.MyWebSite/Profile/UsersName 

for example

www.MyWebsite/Profile/JohnSmith.aspx

 

is this possible. In my Member table I have FirstName and LastName columns or do I get the

name from the membership table.

 

even better would be they go straight to www.MyWebsite/JohnSmith.aspx

 

thank you for any help

 

P

 

 

 


Flash player doesn't send cookies while requesting an aspx page

  

Hi.

 I'm developing a web-site, that uses SWFUpload for multiple files upload to the server. Page, that uploades files, is accessable only to registered user. Authentication is done via web-forms (authentication mode="Forms" in Web.config). Flash uploades files to special web page - upload.aspx. In IE everything works great, but Flash player in non-IE browser (in Firefox, for example) does not send any cookies to upload.aspx. Because of it no sesion and no authentication information is available in this page.

 I can pass all the information, necessary for uploading, in GET-parameters, which upload.aspx recieve. But this is a serious security hole and I don't want to expose session information. I can pass session identifier in GET-request. But the question is the following: how can I restore session information from the session identifier? How can I make HttpContext.Current.User point to currently logged in user in this case?

Any help will be appreciated.

When I use 'publish', site doesn't work when i post data

  

Arrgghh, I am so tired of dealing with stuff like this

I've got a project, when I put up on another server I point two sites in IIS6 to it

i have

http://www.main.com  pointing to the folder the files are in

and

http://www.anotherofoursites.com/main pointing to that same folder in it's own "Virtual Application" or whatever IIS calls it when you put a folder into it's own 

If I just "Build" and push all the files up.. both work without issue and as expected...  but when I use "Publish" to precompile, the site works until I post, and then i get nailed with:

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Categories: 
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