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

Top 5 Contributors of the Month
Imran Ghani
Sohaib Khalid
Post New Web Links

How can I make so IIS SMTP uses Credentials when my site is connecting to it

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

MY SMTP is working without any password or username, Iam trying to configurate my SMTP so it uses credentials when sending mail.

On my ASP.net app I have added credntials, but the SMTP works also without any credntials.

View Complete Post

More Related Resource Links

send the login credentials from site to another server



  i have a site which uses windows credentials to login and in the site i have link to ssrs server.

when i select the report it asks for authentication which i want to skip and send the same user

crendentials to the ssrsserver to access the report.

can anyone suggest on this..

how do I make each site collection have its own separate FQDN URL?

Howdy. We've got SP2010 up and running just fine but now we'd like for each site collection to have its own FQDN URL that's publicly accessible. We've already bought a wildcard cert and have it answering on port 443. Example: https://intranet.example.com -> https://sp2010.example.com/sites/intranet https://projects.example.com -> https://sp2010.example.com/sites/projects https://my.example.com -> https://sp2010.example.com/my Again, each URL on the right already works but we'd like the FQDN on the left to map to the URL on the right. I searched this forum for "multiple site collections",  "multiple FQDNs" and a couple others but got nothing :( Thanks, -Jeff

i make a web site using frame . A.Text box is in parent window . but i want when frame is load(fram

i make a web site using frame . A.Text box is in  parent window . but i want when frame is load(frame window Coding ) then parent window text is changed l(1)suppose parent window Text. is a when child widow is load thenparent window Text. is b

i make a web site using frame but session is expire Error message is my Config file is attache

i make a web site using frame  but session is expire message is Object reference not set to an instance of an object Description: HTTP 500. Error processing request. Stack Trace: System.NullReferenceException: Object reference not set to an instance of an object at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Web.UI.Control.LoadRecursive () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessLoad () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessPostData () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0 at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0 My Web Config file is<configuration>    <!-- store the database connection info here -->     <appSettings>        <add key="sBook_StoreDBConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Program Files\CodeCharge\Examples\BookStore\BookStore_MSAccess.mdb;Persist Security Info=False" />            </appSettings>  <system.web>  <httpRuntime executionTimeout=&quo

How to create Asynchronous website-make the site work faster?

Hi,I developed an ASP.NET 3.5 website to read a few XML files generated by a third party software and convert them to a single Excel Book. The entire process takes more than 1 HOUR and even before completing the entire work, the system comes back with a message like - "Page cannot be displayed" and it fails. So, I am planning to make this website an Asynchronous site (I think if I make this site asynchronous it will work faster and will not stop execution before completing - new ideas are welcome.) I am new to this concept. Can anyone help me with some examples of how to convert a normal website to Asynchronous website? At present my site has 3 tiers and the reading of XML pages and writing them into Excel are happening in the Data Access Layer.Thanks

How to make Quicklaunch of share Point site movable?


How to make Quicklaunch of share Point site movable?(so is its not needed , it should be moved to leftmost direction)

                                                                                     Thanks and Regards,

How can I make WebBrowser to navigate 1st site and then 2nd site?


I tried next C# code.





I want to make webBrowser1 (WebBrowser control) to load Yahoo web page fully (display full Yahoo web page), and then load Google web page.

But, with the code above, WebBrowser control displays Google web page only.

So, I tried following C# code.



while (webBrowser1.IsBusy

how to make any aspx page in sharepoint site definition solution ghostable in sharepoint site?

how to make any aspx page in sharepoint site definition solution ghostable in sharepoint site?

Create SPUser object using user credentials on claims based site.



I would like to create SPSite object and pass user token as an argument to make sure all operations are executed with SharePoint security trimming. Inside SPSite I am reading some file content using File.OpenBinaryStream() method.

I am not sure if there is a way to create SPUser using user credentials. I am able to get SPUser by getting it from SPWeb.AllUsers collection using user login name. However it doesn't work for claims based sites as login name for these users looks like i:0#.w|domain\username. 

Am I allowed to user code like this:

SPUser user = web.AllUsers["i:0#.w|domain\username"];

to get SPUser object? I know that 'w' from 'i:0#.w' string means that it is Windows user. What do other symbols mean? Is there any method which can generate login name from user credentials so I may use it to get SPUser from AllUsers collection?

Possibly there are some other ways to execute code for SPSite under some SharePoint user privileges?

P.S. All my code is running out of SharePoint context. I have tried to user windows impersonation but got Access Denied error.

Thanks beforehand for any help,


How to make window based site accessible from outside



We are using MOSS 2007. We have created window based site and extended it to use SQL-Form based Authentication so that users can access it from outside. Now we have a requirement to use the Active Directory Authentication and test the application from outside. Our Alternate Access Mapping settings are as below:

Internal URL                                  Zone                                         Public URL for Zone

http://server01                             Default                                        http://server01 

http://server01:12345                 &n

How to make a news site like SharePoint 2007?


I want to create a site with news, in the way like SharePoint 2007, with a list of news on the main page (title, image, and short description).

What template I must chose or what is the way?

Thanks a lot!

Un saludo! Juan Segura

Migrating Custom Site Definition to SharePoint 2010: Do i need to make any changes to existing site



I am migrating from SharePoint 2007 to Sharepoint 2010.

We hae 2 custom workflows to be migrated.I have deployed the respective wsp which were used in Sharepoint 2007 site.But it did not help and i got errors.

Do i need to change my site definiton or my wso before deploying the same to Sharepoint 2010


Ram kiran

code to add to make site visable in search engines



Still new. What can I add to my site to get picked up by serch engines without paying for services?

Right now if I do a search My site does not appear.




How to make my SharePoint 2010 site accessible from internet?


I have a sharepoint site on a production server here "http://servername:10500/sites/mysite" which accepts AD accounts - I'd need to make this accessible from internet; how could I do that?

Our admin has mapped our "http://subdomain.company.net" in DNS to point to the above url but I'm getting the following error message:

"Internet Explorer cannot display the webpage"

In SharePoint central administration of the "http://servername:10500" web application, I have added an internal url of "http://subdomain.company.net" for Internet Zone; not sure if I should have done that?

what else do I have to do?

Many thanks.



How to make a copy of a large list within the same site


I have a large list (125MB) that I wish to make an exact copy of within the same subsite of a site collection (albeit with a different list name, of course).

Because of the size, creating a template with content throws cabinet errors even with an increased max template size.

The gl-export/import does not work when importing/exporting into the same site (it just appends the data to the existing list). importlistitem/exportlistitem also seem to have a bug that prevents the import from working properly.

Creating a blank list off of the template and copying items over in datasheet view is not feasible as it does not appear to retain created/modified data.

This is MOSS 2007 SP1, though publishing features are not available on this particular site. This can be investigated if it is the only method.

Any advice?

Thank you for your time.

How do I make it easy to find my site?


I know it is easy to save a site as a favorite or as  your homepage, but with many they won't do it unless it comes up and bites them.  The most common complaint I hear is that users find it difficult to navigate our company's portal trying to locate our site.  I have been looking at automated ways to make it easy but I am striking out.

Some ideas-

  • Send an email with an executable that puts a IE icon on their desktop that goes to the site- no luck.  Can't even send a IE shortcut.   Blocked by Outlook.
  • Put a button on our site's homepage that when clicked will add to favorites bar or, better, will automatically set our site as their homepage. - Can't figure out how.
  • ???

I know this should be simple and people should know enough to be able to save a favorite, but in these days we have to do it for them.  Can someone help?


How do you make a a SharePoint 2010 site externally available?


I Have a Server 2008 R2 machine and I installed on it SP2010 now I want to make it available externally.

I've rooted the ADSL external IP on "a" port so I can have*** external access. How can I now make the server display the content inside SharePoint Server...? I've tried with the Central Administration Mapping tool but did not work Can anyone help me?

Thank you in advance

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