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


Post New Web Links

Site Header Problem

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :SharePoint
 

I am trying to figure out how to use headers for Sharepoint web apps.

I have created a web app with the default URL of http://shrpt_svr:1605 I want to also reach this site by using the header "test.gracenet.net"

So....I entered the header in the header text box when the app was created and placed an A entry in DNS resolving "test" to the IP address of the host server.

I can reach the site using http://shrpt_svr:1605 but I get a blank page with "Error" on it when I try to use "test.gracenet.net"

What else do I need to do to get the "test....." url to work?




View Complete Post


More Related Resource Links

header and footer problem

  

Hiii Coders,

I have made all the pages of my wesite centered aligned using the following code in masterpage:

<body background="Images/bg2.gif">
    <form id="form1" runat="server">
    <table style="width:960px; margin-left:auto; margin-right:auto; background-color:White;">
my content
</table>

No doubt, it works fine ut still it shows body background from top and bottom. I don't want to show it from top and bottom. Means that website should be centered align from left and right sides only whereas should display my form/webpage fron top and bottom.

plz helpand provide some code snippet

thanx and regards 
 


body tag's header and footer problem

  
Hiii Coders, I have made all the pages of my wesite centered aligned using the following code in masterpage:<body background="Images/bg2.gif"> <form id="form1" runat="server"> <table style="width:960px; margin-left:auto; margin-right:auto; background-color:White;"> my content </table> No doubt, it works fine ut still it shows body background from top and bottom. I don't want to show it from top and bottom. Means that website should be centered align from left and right sides only whereas should display my form/webpage fron top and bottom. plz helpand provide some code snippet thanx and regards 

Problem using an action to link to a report in another site

  
Hi ! I'm using SSRS 2008 with WSS 3.0 (integrated mode) and I want, from a report in a site A, to link to a report in a site B. I'm using the full path to the report and when I paste it in a browser, it correctly shows the report. When I click on the link of the action in the report from site A, a report (having the same name) from site A is displayed instead... Any help would be appreciated Thanks Paul

is there any problem if i create a site collection through programmatically which web application ha

  
hi all, My web application have 2  types of authentication -- for internal users (windows authentication) and external users (Form based authentication). I am creating site collections through programmatically in the web application. so this site collection should have the permission as form based authentication for external users and windows authentication for internal users. is it possible are not? please give me some suggestions on creating site collections which have form based authentication and windows authentication. thanks in advance......

Problem Saving Files to A Sharepoint 2010 Site from Office 2010: Saves locally by default rather tha

  
Hi we are starting to use sharepoint 2010 / word 2010 and have found an interesting bug/problem. Sometimes when a user tries to save a file (by clicking on the save button in the quick access toolbar for word 2010) the save dialog comes up with the users local "Documents" folder as the path (not the correct sharepoint path where the document should be saved).  (I should say that we are creating the file from sharepoint by using a toolbar on the document library, with the new button)  We are using a content type and a template attached to the document library when we create the file.  This is really annoying because the user might not notice that the document is saving locally and not to sharepoint.  I have found a strange workaround which involves clicking the [File] tab on the ribbon in word 2010, then clicking "Save and Send" and then clicking the save button again.  At this point word 2010 seems to "remember" that it is trying to save document to sharepoint and shows the sharepoint document library. This is a real nuisance which could lead to documents being lost/misfiled if people don't realize that this is happening.  Can anyone help me? Thanks Kevin krd

System.Net.Mail e-mail header info problem

  
I'm new to using the system.net.mail class and I'm having trouble with a small program I'm writing.  I use my SendMessage() to send an email public static void SendMessage(string msg)         {             System.IO.File.Copy(mySource + msg, destSource + msg);             MailMessage mail = new MailMessage("from@me.com", "to@you.com, msg, "");                        Attachment attch = new Attachment(destSource + msg, "text/plain; format=flowed;reply-type=original"); //content-type text/plain                                   mail.Attachments.Add(attch);                                  MessagingCenter.client.Send(mail);             mail.Dispose();         } However, the email sent

Need help to solve header selection problem in accordion

  
Hello  friends I have created Accordion control from database. so basically in the header section I have bind categories and in the panel Bind subcategories. basically now it's working fine. but the important thing what i have to do is if i selected a category on that time it's showing me subcategory in the accordion. but at the same time i have to show subcategory  on another page.As well as i have to keep selected header true. Now not getting how to show subcategory on another page and as well as how to keep selected header true.Please HElp me solve this issue.Thanks And RegardsOmkar.

problem deploying report model to wss3 site

  
hi, im having trouble deploying my report model. when i click on deploy i have to enter a user name and password (i asume that it is the username and password i use to enter my wss 3 site) after that it begin to deploy then i get these 2 errors: Error 1 The required field UserName is missing from the input structure. c:\documents and settings\administrator\my documents\visual studio 2005\projects\essreportproject\essreportproject\ESSP.ds 0 0  Error 2 The path of the item '/Data Sources/ESSP' is not valid. The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. c:\documents and settings\administrator\my documents\visual studio 2005\projects\essreportproject\essreportproject\ESSP.smdl 0 0  when i go to my page in wss3 i can see the datasource and model directory, but i cant use them can someone help me with this and explain it for me.  

Sharepoint - Site Restore Problem

  
'm unable to restore our Sharepoint site from backup because of a 'is already an object with the Id ..... in the database from another content site collection' message that I continue to receive during the restore. I have already delete the site collection and created a new one from a blank site on numerous occasions but I continue to receive the same message. Please assist.

SSP problem: This page is accessible only from an SSP admin site

  

Hi,

I am facing some problem in SharePoint 2007 SSP. Actually I have restored the SSP databases (SSP db and SSP search DB) on the development environment using SQL database restore option. After the restore, I have used Restore SSP option to create a new SSP and mapped the restored SSP DB and search DB. The SSP restore operation was succeessful but when I try to navigate to Search setting in the newly created SSP it is giving me the error that "This page is accessible only from an SSP admin site. " The same error messages is coming for some other links as well in same SSP.

Can somebody guide me how to solve this problem?

Thanks,


Senthilrajan Kaliyaperumal

WebRequest/WebClient: This header must be modified using the appropriate property problem

  

I need to do a programmatically originated post using WebRequest or WebClient (doesnt really matter)

When I try to a header into any of the instanciated object, i got the error:
This header must be modified using the appropriate property problem

I have read a couple posts by Microsoft's VS2005/2008 developers. They claim to fix the issue caused when using some restricted headers with the WebRequest class which throw the "This header must be modified using the appropriate property" error :

1- use WebClient instead of webrequest... but webclient still fires that exception if resricted headers are used.

2- dotnet 3.5 with VS2008 should have a new method for WebRequest called: AddWithoutValidate() which --according to MS-- allows the addition of restricted header type to WebRequest.... However that method does not exists in VS 2008.

 

Any ideas or solution for overcoming this problem ??

 

Thanks


Site Definition Import 2007 - 2010 - navbarlink problem

  

Hi,

I have a problem to import a site definition from 2007 to 2010.

In this site definition i have navbar and navbarlink.

In 2007 i could use Resources in navbarlink Url like this :

<NavBar Name="$Resources:CFS,RootSiteDef_Nav_Request;" Url="$Resources:core,lists_Folder;/$Resources:CFS,RootSiteDef_Nav_Request;/" ID="1005">
   <NavBarLink Name="$Resources:CFS,RootSiteDef_Nav_Request_ByStatus;" Url

visual studio 2010 pro web site running problem

  

hi friends.

i seted up visual studio 2010 to my pc before 2 mounts and i did not have any problem. after i formated my pc vs2010 not running web site projects. sortly when i run it on internet explorer open but its cant open project. its like there is no any websites, what is problem.

thanks all. 


Problem Removing Site Breadcrumb

  

Hi guys,

ive recently taken over the job of maintaining the company website and have been asked to remove the breadcrumb on our sharepoint site...

so i located the master page and found the breadcrumb within that page.

 

 

             <div id="layoutBreadcrumb">
                <!--- --- ---  Breadcrumbs --- --- --->
                <asp:ContentPlaceHolder id="PlaceHolderTitleBreadcrumb" runat="server">
                    <asp:SiteMapPath EnableTheming="false" ID="siteMapPath" Runat="server" SiteMapProvider="CurrentNavSiteMapProviderNoEncode"
                        RenderCurrentNodeAsLink="false" PathSeparator=" &gt; " CurrentNodeStyle-CssClass="breadcrumbCurrent" NodeStyle-CssClass="ms-sitemapdirectional"/>
                </asp:ContentPlaceHolder>
  &nb

Dynamic routing problem when invoking site from remote host.

  

Hello,


I have problem described under following link: mvcrouting

Can someone give me some clues how to deal with that ?

Regards


save as list template and save as site template problem

  

  Hi,

Please provide me information for how  to fix this problem.

When to occur this problem in share point.

When  i create save as list template and save as site templates its showing the following error below:
Unknown compression type in a cabinet folder   at Microsoft.SharePoint.Library.SPRequestInternalClass.SaveWebAsTemplate(String bstrUrl, String bstrTemplateName, String bstrTemplateTitle, String bstrDescription, Boolean bSaveData)
   at Microsoft.SharePoint.Library.SPRequest.SaveWebAsTemplate(String bstrUrl, String bstrTemplateName, String bstrTemplateTitle, String bstrDescription, Boolean bSaveData)

Regards
vinesh


Login problem with new asp site

  

 I am new to asp.net. I have created a test site and copied to www.eddiepricetest.com but when I try to login and create a new user account i get the below error. When I do this locally on my pc it works but when I copy to the web server i get the error. Any ideas?

 

 

Server Error in '/' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

SQLExpress database file auto-creation error:

The connection string specifies a local Sql Server Express instance using a database location within the application's App_Data directory. The provider attempted to automatically create the application services database because the provider determined that the data

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