Pages

Thursday, September 1, 2011

Migration of IIS 6 server to IIS 7 or IIS 7.5 server

There could be time when we do migration of web server , I have mentioned the process to migration of IIS 6 server to IIS 7 or IIS 7.5 server. Environmental element you need are:

Source : - IIS 6 web server running on Windows 2003 operating system
Destination :  - IIS 7 web Server running on Windows 2008 operating system
Migration Software : - Microsoft Web Deploy

First we need to identify the dependencies for the web application, and then we need to create the source package of the website we need to migrate. Once created we will copy that source to the IIS 7 server and will do the actual migration. I have tried my best to keep it simple and broken it in bits.

Dependency List
At the command prompt, type:
msdeploy –verb:getDependencies –source:metakey=lm/w3svc/#siteid
By the data return as result of above command , you will get idea that what components are installed and available for use for this site. Any dependency listed here needs to get installed on IIS7 server (destination server) otherwise installation will fail.

Source Creation
Creating a backup Folder, On the IIS 6 source server execute below command :
msdeploy -verb:sync  -source:metakey=lm/w3svc/# siteid -dest:archivedir=c:\IIS6SiteBackup

Move the backup
Move the folder created above c:\IIS6SiteBackup to the destination server or to any share on reach.

Actual Migration
On IIS 7 (destination server) type the command given below and execute it
msdeploy -verb:migrate -source:archivedir=c:\IIS6SiteBackup -dest:metakey=lm/w3svc/# siteid

Post Migration
You may need to reconfigure some components like PHP, Ajax, ASp.NEt , Perl. If you have installed each of these elements in exactly same drive / path then probably you wont require customisation.

I wish this may help you.

Friday, August 12, 2011

How to check or set the password of the IUSR and IWAM local accounts , Sync passwords between IIS and MTS

How to check or set the password of the IUSR and IWAM local accounts

First we need to change the settings so we can see the password. Go to: C:\Inetpub\AdminScripts\   And open adsutil.vbs in notepad or any text editor.

Search ""IsSecureProperty = True"" and replace with ""IsSecureProperty = False""

You may revert the above changes once you see the password.

To see IUSR password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/anonymoususerpass

Results should be something like:

anonymoususerpass : (STRING) “:tu*gu866IGHJK”

To see IWAM password:
Start up command prompt (Start -> run -> cmd)
C:\Inetpub\AdminScripts>cscript adsutil.vbs get w3svc/wamuserpass

How to change the IUSR or IWAM password:
Instead of running a ‘get’ command in your cscript ,  run a ’set’ command to set new password. 
How to set the password for the IUSR account.
C:\Inetpub\AdminScripts>cscript adsutil.vbs set w3svc/anonymoususerpass “NewPass”

Sync passwords between IIS and MTS:
Now sync the passwords.  Run
C:\Inetpub\AdminScripts>cscript.exe synciwam.vbs -v

Wednesday, June 15, 2011

Health Vs Job

Health Vs Job

Three months ago I visited one of my friends house, who lives on 7th floor and for my bad luck the lift was not working, some mechanical fault was there. So We "me and my wife" both went unto 7th floor using stairs. She was able to manage that journey but I was barely able to reach there, And this made me to think.

I have an average figure average weight and body ratio and do not look fat, then why I am losing my spontaneity why I got tired. In last few years I have not remained same, I look fit but I am no more fit. Was it something only about me? The Answer was No.

Its not only about me, Its about everyone who works on computers. Its about life we all are living. I will not say we do good work but most of us get good salaries so we drink and eat food which is tastier like Pizzas and cold drinks frequently. Such food requires us to keep doing some work not virtual but real to digest it. Even simple food does not digest without proper body movement which we miss.

I noticed our life our habits are changed. Why it is happening? Why things not remained in control? Earlier we guys met go out hang there and enjoy!  Now the funniest part we never meet, even if we're in same building we send smiley on facebook while actually even our lips are not in smile shape.

As we do compromise with life coming to us,  we eat less so to remain in shape and to not become fat and clever guys even drink less to remain more on seat and skip toilets. I know many of you will deny this fact. Infact we hate eating natural food because its tastes less but while online we support movement for them. Strange behaviour!

Do you remember the last time when you ride the bicycle? Is workout in gym a solution for our problem of lower back portion? I think on Earth each thing has effect on every other thing. And our routine job and unbalanced health are inter-related. We are losing weight but we did not remain edgy. If you have any solution share among us .. .. ..

To get better position I made some guidelines to keep me fit actually. And sticking to these points helped me a lot, These are simple and may be helpful to you as well.

  •     As I cant go for cycling specially I use cycle each time I go anywhere within 1Km radius from my house. Believe me it helped me a lot. Its healthier and I save some money as well.
  •     I have said No to cold drinks (still left pizzas in option to eat). In place of drink I take juice or milk products. Again its much healthier easy to digest and less costlier.
  •     "Stairs", yes it makes a big difference. In office, home or wherever you go use them. They are made to use and really its very very helpful.
  •    Instead of getting a glass of water for me, I keep a water bottle with me everywhere. So any time I feel thirst I drink. It keeps my lung fresh and so me.

These were my small but powerful guidelines which can be helpful for you as well.

Monday, May 2, 2011

ISS7 application tries to open filens from website folder

staleb 
I'm new to iis7 and having problem browsing an application.

I create a new website and point it to C:\inetpub\wwwroot, and I try to browse it and it works

I add an application Netpark (with virtualpath /Netpark) and I try to browse it I get an error message saying:
"The Resource cannot be found" requested URL: /login.aspx

But if I  type in localhost/netpark/login.aspx it shows, but then the next page (default.aspx) is missing,
because it looks to the website root folder it seems.

Is there some setting in my web.config file that says it should use the website folder instead of the application folder.
Or is a setting in IIS?


pcsmitpra
It seems to be some configuration issue with your application Netpark virtual directory. You may check the path of the virtual directory if its pointing to correct place and check permissions on that physical directory, if it allows  user "Network Service".
You may try to browse it using http://serverIP/netpark/
If you still face problem then you may create a new website and map netpark virtual directory as the root for the new website.

SiteFinity 3.7 on GoDaddy Shared Windows Hosting

artisit
I am trying to get a SiteFinity CMS installed on the GoDaddy shared windows hosting environment and I am having no success.  I have opened tickets with SiteFinity and GoDaddy and that hasn't helped.

Currently, when I try to go to the preview page for testing the site's availability, I am getting an error that says:

Server Error in '/' Application.
--------------------------------------------------------------------------------

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.

Requested URL: /sitefinity/cmsentrypoint.aspx


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.4049
Preview DNS
Welcome!
This is a preview of your new Web site. Once you've completed setting up this site's content, you need to modify the DNS settings of your domain for it to be live to the public.
Click here to learn more about setting your domain's nameservers.

This occurs at the following URL:

http://www.appetitescafe.com.previewdns.com/home.aspx

I believe this is related to the web.config file and/or trust level.  I am attaching web.config with the db settings obfuscated.

ANY HELP WOULD BE AWESOME!!!!!!!


pcsmitpra 
Your most of the components require ASP.NET 3.5 to run, Please make sure you have asp.net 3.5 on the server and it should be in running position. You may require manually registration of extn 3.5 . Do you see any error while launching the installation on website?

Web server certificate contacting root CA

FLPeople We are doing some internal testing using a web application hosted in IIS and using SSL security (On 
Windows 2003 Server).  We currently have a test web site that is using an internally created certificate (created from our internal CA structure) to SSL (https) the web page.

First a look at our internal CA structure.  The Root CA is in our Root Domain (ourname.net) of our domain structure.  2 Subordinate CA’s are in the Sub-Domain (office.ourname.net) of our domain structure.

The web server and clients exists in office.ourname.net domain – shown below.

We did some network traffic monitoring while testing client access to the secured website.  When the client’s browser setting for “check for server certificate revocation” is turned on. – we were surprised to see traffic from our clients not only to the Subordinate CA (we expected this), but also to the Root CA.  We are assuming this was to check for a recent CRL (certificate revocation list) to make sure the given certificate has not since been revoked from its original creation.



Given that we plan to take our Root CA offline in the near future – this is concerning.  




1.      Why would this be happening if the subordinate was the CA that issued the cert to the web server?
2.      Was there an error in the way we created this certificate for the website?
3.      Is there an error in the way we are handling CRL’s in relation to our Root CA?
4.      How can we offline our Root CA if it is actively publishing CRL’s - and apparently from this test - our clients will be looking from them.

(I know its 4 questions here - will split points if need be)


gheist  
If you take your CRL offline make sure web server is taken off and refuses http connections, so that users feel less timeout.

pcsmitpra 
1.      Why would this be happening if the subordinate was the CA that issued the cert to the web server?
>>>> Have you placed the ROOT certificate in the place on webserver using certificate wizard ,becoz browser was trying to get root certificate.
2.      Was there an error in the way we created this certificate for the website?
>>>> Does not seems though Not sure.
3.      Is there an error in the way we are handling CRL’s in relation to our Root CA?
>>>> Please check if CRL on your webserver is updated and not bad. You can find it in certificate wizard.
4.      How can we offline our Root CA if it is actively publishing CRL’s - and apparently from this test - our clients will be looking from them.
>>>> If Client gets the GOOD CRL , Root Cert and intermediate cert from Webserver itself it wont try to reach Root server, considering the FQDN is fine and SSL is placed to right domain with correct hostname. Probably you would like to import a latest CRL file from root server to web server. 



 

Thursday, April 21, 2011

Title: exePath must be specified when not running inside a stand alone exe - known causes?

knowlton : - "exePath must be specified when not running inside a stand alone exe" .
What are some known causes / solutions for this error?

IIS / ASP.NET / C#


Rovastar : - Incorrectly using ConfigurationManager.OpenExeConfiguration instead of the correct ConfigurationManager.OpenWebConfiguration when using web applications is a common cause.

pcsmitpra : - There is first possible cause that you are referring to configuration group like here:
we can use ConfigurationManager.OpenWebConfiguration() method instead of ConfigurationManager.OpenExeConfiguration().

There is one more close and relevant case :
API configuration for WCF :
Configuration appConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
ServiceModelSectionGroup serviceModel = ServiceModelSectionGroup.GetSectionGroup(appConfig);
This code will work while the application is an exe but if you will write the same code in an web application it will fail.

Here the issue is , IIS could not load the exe from configuration manager, So we require configuration section instead of Configuration group to use directly ConfigurationManager and some modified syntax. The previous example can now be rewritten like this:
ClientSection client = ConfigurationManager.GetSection("system.serviceModel/client") as ClientSection;

I hope it will give you a good idea to deal with it.
Cheers.
 

Wednesday, April 13, 2011

IIS log analyzer for W2000 server

starbase2 : - Hi,

I have three w2000 server with sp4 running and on every server I have several web applications published.
I need to analyze traffic and band consumption for the webs and I've been searching for some free analyzers. I've found the indihiang.codeplex.com that looks beautiful.
But it needs to install framework dot.net 3.5 and as as far I know there is no way to install this framework version on Windows 2000.

Do you know some free component that allows me to obtain and manage the IIS log info? There is some way to do this on real time? (as iis log only works from hour-to-hour).

Thanks a lot and kind regards!!


Rovastar :- Free realtime tools I do not know of any. They all cost a lot ingeneral.

DO you want a graphical tool? or do you just need to figures for bandwidth/traffic consumption?

Can you run this tool on another machine obviously Windows 2000 is an old OS. Maybe you can run these reports on another server or locally.

Anyway if it has to be free try.

http://awstats.sourceforge.net/


pcsmitpra :- indihiang - it does not Support IIS5. It only support IIS6 & 7.
Log parser - Free tool from Microsoft.  command line tool - www.logparser.com

AWStats - Free and open source tool that is popular. http://awstats.sourceforge.net/

Analog - Free  http://www.analog.cx/

Smarterstats - free for one domain (written in .NET)
http://www.smartertools.com/Products/SmarterStats/Overview.aspx?ref=51

IIS Logging pack for SSRS 2000 - Add-on to SQL Server reporting services.
http://www.microsoft.com/downloads/details.aspx?FamilyID=2805d337-14c7-40e3-820b-e7ee653c68c0

Urchin - Google product
http://www.google.com/analytics/urchin_software.html

Sawmill - many versions are there : http://www.sawmill.net/

Webtrends - COSTLY - powerful. - http://www.webtrends.com/

Title: FTP 7.5, IIS User authentication and Isolation logon problems

craignh : - I am trying to get user isolation working on Windows 2008, FTP 7.5. The logon box keeps coming up (internal and external) and none of the user accounts work. If I remove user isolation and allow anonymous access it works.

There are only 2 servers in the company. The FTP server is a secondary domain controller and its only purpose is to be used as an FTP server (and to have a backup of active directory). The FTP users will NOT be domain users (they will be customers of the company). User isolation needs to be in place so when a customer logs in, it goes right to there "username" directory ONLY. The users should not have permissions to any other customer’s directory. They should not even see the other directories.

In addition the users should be able to upload and read files but NOT be able to delete any files.

I understand how user isolation and IIS Users work. I have been over the config many times. I used Microsoft articles on how to set it up step by step. The config looks fine except none of the user names work when trying to log in. They only work when user isolation is shut off and anonymous access is enabled. I have tried it by logging in directly on the FTP server through IE and also on a computer external to the network and get the same results. It just keeps popping up with a user name and password prompt and none of them work. 


pcsmitpra ; - Same problem was discussed here : LINK
You will surely get the issue resolved . Cheers. 


craingh : - The solution did not directly fix my problem but helped provide a link that helped. 

Acting up host headers

Abonsu : - I moved a host header(customer) from old production server to a new production server.
Before then, I had a test hostheader (Testcustomer) on the new production site and everything works perfectly


I created a new website using the host header (Customer) pointing to the same coldfusion files as (TestCustomer)
and the session login part is not working properly for Customer site.
(no physical errors..just keep taking me back to the login prompt in the application)

 My concern is that:
The 2 websites Customer and TestCustomer are pointing to the same Coldfusion files on the same server.
I am not sure why host header Customer is giving different results.  

Any inputs will be appreciated 


pcsmitpra : - There is a facility in Coldfusion to define hash () and  getCurrentTemplatePath() like in this code:


What does it means , is that the application name is used to map or attach with the coldfusion memory space. Which means it does react as a a completely different coldfusion name space if the application name is different. So you can run multiple of websites with separate names on same data.
You may find the related code in some file like Application.cfc, which will have code for cfcomponent and cffunction.
Hope this will help you.

Cheers.


Abonsu : - Can you share more light on what I should do to resolve this.  I want to remove the Testcustomer if the Customer works ok. 

pcsmitpra : - You can check any of the website and if you find it fine it will valid for both as same code in use. To make it working only for one application you can modify "Application.cfc". And you can delete this code ""
But there is no harm with this code. You can safely stop your one website in IIS and go with testing with the other you need.
 

Abonsu : - In the user.cfc which controls the login which seems to be the problem .I do not see  ""

I removed  TestCustomer  website so that only Customer is pointing to the path --same issue.  I pointed TestCustomer  back to the same path and it is working great.  I tried renaming host name testcustomer to Customer but IIS will not let me....


Abonsu :- can you ellaborate on this ..I do not see this code
--- To make it working only for one application you can modify "Application.cfc". And you can delete this code ""


any inputs...users are waiting to use the site with Customer as the host header name..any inputs  what to do to resolve this issue



pcsmitpra : - what is the error you see with Customer" website?

Abonsu : - no physical errors....There is a login prompt that validates the login and session the user to access all other links.  Even though I am able to log in ok.....it keeps taking me back to login prompt again when I try to access the other links.....  It is acting that user is not logged in

 pcsmitpra :- no physical errors....There is a login prompt that validates the login and session the user to access all other links.  Even though I am able to log in ok.....it keeps taking me back to login prompt again when I try to access the other links.....  It is acting that user is not logged in



pcsmitpra :-In case you want to investigate, Please tell me your version of IIS.
For IIS 6
Go to website -> Properties -> Security -> Check and compare the security here  for both of the websites.


Abonsu : - iis7--version of iis


pcsmitpra : - Please see : http://technet.microsoft.com/en-us/library/cc733010%28WS.10%29.aspx


Abonsu : --oh, thats not a problem of Coldfusion, Its problem with Permissions. You may check and compare -------permissions for Customer with other and make same , Or for now, Stop the website Customer, and ----change the hostname for other website  to customer and it will work with Customer's hostname.


I stopped the customer website and changed the host name of the other website  to Customer website and the same issue again


Abonsu : - I changed the host name back to  TestCustomer and everything is working fine....I am not sure why different host names will act differently even with the same site.  Any inputs appreciated.  I have to let users start using...the only problem is that I cannot tell users the address is TestCustomer instead of  Customer


Abonsu :- I created a new host header CustomerInfo and that seems to work


pcsmitpra : - Great ;-)

Communicator 2007 not saving conversation history

AceIT : - I have a user that I built a new system for:
windows 7 pro 64-bit
office 2010 64-bit
microsoft communicator 2007 32-bit.

So after the system is built, the user is getting all of her conversation history from communicator saved in outlook just like it is suposed to do.  well about a week later it just stops saving converstion history.  I try and reset Communicator, make sure settings are correct ect.  I try all the fixes I can find online nothing is working.  Here is the strange part.
Our network egineer is working with Microsoft on a seperate issue, and the microsoft tech deletes our DNS zone during a move.  After its all fixed the user reports that all of a sudden her conversation history from the past few weeks that were missing fill up her inbox.. so I figured the system re-boot fixed it.
After everything came back up that one time, she has not gotten any new history since then... so still broke.

Other problem I have,  User on XP, Office 2007, communicator 2007:
Office Communicator is not picking there status from Outlook.    It is showing her available regardless of whether she has a meeting booked or not.    Did a GP update but that didnt fix it... Not sure if the two are related..

As always thanks for your help


pcsmitpra :- To me it seems to be a problem with DNS, the DNS doesn't seems to be well published. Could you try this : From the user system try to run this command "IPconfig /flushdns" . And then try to see if he gets the conversations history. You can also try to remove it from the domain and then adding it back to the domain. 

AceIT :- It was tied to DNS/ had to configure the OC server also...

Excel 2007 Extension Warning On Opening Excel Workbook from a Web Site

raiccs :- i get a warning like this when the excel downloaded from a asp.net developed website

"The file you are trying to open, '[filename]', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"  (Yes | No | Help)

any help with this??


pcsmitpra :-- As per MS : The alert prompt is "by design", but the interaction of the cancel action and IE's attempt to open the file again is a known problem under investigation for a future fix.

There is no fix for this alert yet.

But you can configure the Client machine to disable such alerts
Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security
Value: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]
Default setting if value not present is 1 (enable and prompt)

For more details , Please see http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/03/11/excel-2007-extension-warning.aspx

How to set-up forward proxy for IIS 7.5?


T-cko : - How to set-up forward proxy for IIS 7.5?

Please it is quite urgent, I need to know this asap


pcsmitpra : -
    In IIS 7.5 , Forward proxy work is done by enabling Application Request Routing .
Installation   and also perform post installation steps given there.
You can see general recommendation given here

Forward Proxy work set , YOu can set it by defining ARR Server Farm , How To
You can achieve more using ARR , More options are here

Also you can see STEP BY STEP Guide for How to create Server Farm Here

Cheers

IIS issue while hosting multiple sites

HI,

we have IIS 6.0 on windows 2003 std. 64bit.  I have intalled the first application(GFI Mail archiver 2011) which took default web site. It works fine. No issues. Later I have installed second application(SolarWinds ntk monitoring tool) which created a new site. I configured Solarwinds on port 81 whereas GFI on 80. Both the IP addresses are unassigned. Now when I try to browse GFI I get the error which is added to this question. Please advice.


mohammad827 ; - Try running using Firefox or IE 9 which have script debugger. They can help you find the line in JS which is failing. Otherwise there should not be anything to do with multiple sites.

Rovastar : - Also to test the theory about nothing to do with multiple sites what is you stop a site does it work again?

pcsmtpra : - To host a website three parameters are required : Hostname (domain name), IP address , Port. If any of these three is different then website will keep working. As you are running second website on diff port 81 it is not a problem with configuration.

It seems by installation of SolarWinds ntk monitoring tool , some thing got disturbed, may be version of java script. You may check what component get updated/downgraded with installation of SolarWinds ntk monitoring tool. Also you may try to browse the "GFI Mail archiver 2011" website in a updated IE. It may help.

Wednesday, April 6, 2011

mass mail server

email spam : Hi,

Looking for a "good" mass mail server available online to send mass emails in a production environment.  
We currently have one implemented but fear the emails are being caught by spam filtering services.  need some recommendations that other companies use when sending mass emails.


Solution: - One good Mass mailer software : http://web.twelvehorses.com/technology/messagemaker/
one more option is : http://www.emailbrain.com/eb/index.shtml

IIS contact us tab

Question: - By Yogesh_Exchange_Expert 
Customer had reported that contact us tab is not working on website As the website is hosted on our shared server we have checked all the necessary setting for the website it looks fine.

The website application is running on .NET 2.0 versions with a DefaultApplicationpool 1.4.
Last time after recycling of application pool it started working.

Now again customer had reported the same issue, request you kindly suggest on same and let me know for any further course of action from my side. 


Solution: -  
What is the version of ASP.NET running for the website? Are you running "Contact Us" tab as virtual directory under website? What error you see when it does not work?

OVER WINDOWS 2008 > If you are running a webstie with asp.net 2.0 code then please make sure your application pool is running with ASP.NET 2.0 only.
Please provide more details as above so that we can suggest better.

Friday, April 1, 2011

Help with IIS creation of user

Hi,

I did not originally set up the ftp using IIS but I need to add another user in order for them to log in.
I checked under active directory and have found a user that currently logs in and have duplicated them. When I try and log in using the ftp account I receive the following message:
Response:      530 User Domain/user cannot log in, home directory inaccessible.
I have checked the permissions on the folder that the ftp accesses and added the new user in their.
I am not sure what else I need to do.

Regards,

Ross


Solution :-  Let you have created a new user 'FtpUser1'
Go to IIS -> Locate Default FTP Site , Add  'FtpUser1' user to it and provide "list only permissions" . Expand FTP site , locate your virtual directory open its directory and add  'FtpUser1' user there with modify and write permissions.
Try to login with user id and test its working.

Tuesday, March 29, 2011

Worker-process in Web-Garden IIS 6.0

Our IIS slows down very often and message only way to bring it back is to restart it...
we see inthe http-error log is Connection_Dropped DefaultAppPool blah blah...

We have 1 worker process in web-garden setting in IIS 6.0
will increasing number of worker process improve this behaviour?

thanks

at999

Solution :-
First of all , Web Garden is not a solution for this problem. You are trying to hide the actual problem.
You find your IIS get slows down, So you need to identify what is the cause.
Like
1. How frequently it happens? - You can restart your IIS every mid night or every weekend.
2. If Its intraday - What is the process which takes high resources like Memory & or CPU?
3. You can configure the performance monitor and record the number of threads for the process and find how many threads are in use at that moment.
4. Try to identify the root cause, use IISState, Perfmon and process explorer tools , they will help you.
5. if you are hosting multiple applications , separate them in dedicated app pool so you can make sure which website is casuing slowness.
Your question is a broad end question mainly says by a non technical customer .. You are require to do some perf maintenance there.

Hope you will get it.
Cheers

Wednesday, March 23, 2011

Mails dissappeared in the inbox after transition from exchgange 2003 to 2010

Question: -
Hi

We did a transisition from exchange 2003 to 2010 and  migrated all mail boixes  to 2010.

I have a problem with one of the user and when i log into owa i cant see any emails the inbox.
If i go to the mailbox and properties of the user and there it says
Total items 500
Size(KB)is  4001.

I tried to send a test mail to this account  and i  wheni logged in as the user in OWA i can see the test email. But i dont know why its not showing the old emails when i login to owa.

Thanks

Solution: - 
PietMuis -- In OWA 2010 you can apply filters, there is a filter called unread - maybe that is applied? 
pcsmitpra - You need to make sure that the account that runs the restore job(which can be set manually) has full permissions to the Exchange server, Information Store, and User's Mailbox.

Try this : - go to the user Inbox  folder -> properties -. Security -> Advance -> Owner -> Select owner -> Select "replace" ->Apply -> ok

This will over write the permissions on old files, and Exchange will have permission on all 


PietMuis -- have you tried opening the mailbox as an administrator?
What about moving it back to 2003? - then export to pst and create a new mailbox on 2010.

sorry i do not know the solution just some ideas...
 
Logon to an PC with your exchange admin account and setup outlook for the user.

To do the import/export look here
http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/exporting-importing-mailboxes-exchange-server-2010.html
 

2008 SMTP server

I am building a SMTP server on 2008. I turned it on in IIS and when I run a script it sends my test email but when I try to get my servers to use it to send message no messages go through. Is there something I could be missing? The script below is the one I use and it works fine.  I get a test email okay.

Const MAIL_SERVER = "smtp server"

Set objMail = CreateObject("CDO.Message")

objMail.Subject = "Message: " & Now
objMail.From = "email address"
objMail.To = "email address"
objMail.TextBody = "Test"

objMail.Configuration.Fields.Item _
  ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objMail.Configuration.Fields.Item _
  ("http://schemas.microsoft.com/cdo/configuration/smtpserver") _
  = MAIL_SERVER
objMail.Configuration.Fields.Item _
  ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _
  = 25

objMail.Configuration.Fields.Update
objMail.Send


Solution :-
On Windows 2008, You can run SMTP with default setup, You only need to change Access tab ->Relay Restrictions, select the radio button "Only the list below" and there you can add the IPAddress or IP range of machines that you want to send emails from this server.
And under Delivery -> Advance  -> Mention  FQDN for the domain name or server name in question. If this server is part of Example.com Active directory domain, then you can create an MX record in DNS. So you may check these few settings.
Cheers!

Monday, March 21, 2011

SMTP server setup with authentication

I need to setup an SMTP server that will accept requests to send from any e-mail address to any e-mail address. I want to use an authentication process to allow clients to connect to it with a username and password. Can I do this by setting up IIS? If no what is my best method of setting an SMTP server up with this?

Thank you,
Rob


Solution :-
Please check your mail logs and you will see the error there, You can find its location under mail sever properties logs. Also, Please provide details like weather you are using smarthost?

Event 4001 Typically, this problem occurs if the destination SMTP server performs a reverse lookup and if one of the following conditions is true:

    * The IP address does not match the domain name that is used in the return address of the e-mail message.
    * A pointer (PTR) record does not exist or is not valid for the source SMTP server's IP address.

For example, consider the following scenario. The domain name that is used in the return address of the message is source.com. You send the message to a different domain. The destination SMTP server then performs a reverse lookup on the incoming message. If the PTR record for the source.com domain does not exist or is incorrect, the destination SMTP server does not deliver the message.

Note If your Network adapter that is connected to the Internet is using a dynamic IP address, you may have to configure Exchange Server to route mail from the source.com domain through an SMTP connector to a smart host.

Note You can configure the Exchange server to reject incoming connections by specifying a domain name on the SMTP virtual server. When this is done, reverse lookups are performed on all connection attempts. This setting is available under Connection Control on the Access tab when you right-click the SMTP virtual server and then click Properties.

Webserver, how to...?

Hey Guys

Just a quick question,

I have a server built with sbs2003, my domain is working fine, email blah blah.
I have created a website in dreamweaver and have saved the site in a folder called "site" and have copied this to my server.
question is this...how do i make this my active site?  and am i going about this the right way?  I appreciate that hosting a website on sbs2003 is a crappy idea and i would never recommend doing this to clients, but its my own personal website, so only friends will be looking, 


Solution: - 
hosting a website on sbs2003 is a crappy idea >>> :-( it made me SAD

how do i make this my active site? > You browse website by using hostname also known as domain name, YOu need to configure that. So you can browse it like you do any other webstie .
Lets , you like to keep the hostname www.Domain.com ,
Go to Start ->  Run  -> Inetmgr -> Website -> On right side -> locate your website and right click  -. properties -> Advance -> Add -> hostname mention it here , Keep TCP port : 80 and  Press Ok

Apply and Ok

If you like to browse it from local server then make an entry in
RUN > Drivers\etc \host file
127.0.0.1   
www.Domain.com

Same you can do at your Local desktop
If you have DNS server then make a record for it there,

I hope this will help you.

Wednesday, March 16, 2011

Securing IIS over webdav IIS 6.0 and 7.5

I am trying to create webdav for either a IIS 6 or 7.5 and wanted to know if anyone have any step by step directions on setting this up over port 443 or any other secure method, thanks.

Solution : - How to create a secure WebDAV publishing directory :
http://support.microsoft.com/kb/323470

Wednesday, March 9, 2011

Object reference not set to an instance of an object.

Question : - earlier website was using ASP.NET 2.0 till then code was working fine since we changed it to .NET 4.0, it is giving error
Server Error in '/' Application.
--------------------------------------------------------------------------------

Object reference not set to an instance of an object.
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.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ImageViewerHandler.ImageViewerHandler.ProcessRequest(HttpContext context) +226
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +596
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +265


We are using IIS 7 . Please help.

Solution: - I checked about image viewer, they support only asp.net 2.0 , I doubt if you can get it working on asp.net 4.
http://www.codeproject.com/KB/web-image/ThumbViewerControl.aspx
 

Applicaiton Hosting

I am hosting all the company online application under MyDomain.com however the holding company have many small companies and now they what each company to have their online applicaiton using their own domain. For Example: instead for shows.MyDomain.com they want shows.ThierDomain.com
I guess my quesiton how do I host the application with our domain names that I do not have control over, so the DNS server is not under my control?
All my servers are Windows 2008 R2, IIS 7.0
Any help will be very much appriciated.
Thank you
Roy


My Solution: - You already have webstie for your company with name "MyDomain.com". Now first you can buy ( incase you need public facing )the domain name for your applications like ThierDomain.com .
Once you buy the domains , the domain registrar (like Go daddy) will provide you a control panel where you can mention the DNS for that domain name ,  You may use name servers provided by registrar. So as you will mention the 'A' record the domain name will point to your servers. This process may take some hours or 1 day.

On your server side you need to make separate websites like  ThierDomain.com  in IIS so that DNS name will find it there. For safety purpose you can install firewall / proxy server between Internet and your webserver , and open the connection only for particular port like 80 , 443 .

I hope you will get it. Cheers.

Thursday, February 24, 2011

Default Website Stopping

Question: - SBS 2003, I am trying to setup a Droid with ActiveSync. After inputting the setting to the phone I could not connect. The default website on the server was stopped. I started it and the phone connected without any problems. after about 2 minutes the website stopped again. I cannot seem to get it to stay running for more then a couple of minutes.


Answer: - You may need to enable in the user's exchange account features. The two features that must be enabled are "User Initiated Synchronization" and "Up-to-date Notification". These features can be found in Active Directory. You need to log-on to the Exchange server, open an MMC to Active Directory users and Computers and then Enable these features. Then try to enable the website and Droid.

Thursday, February 17, 2011

List Web sites on IIS 5.0 NT 4.0

Question: -  I need a help to list the created web sites' name on txt configured on an IIS server with NT4.0, currently I can only list the SiteID with adsutil.vbs, but it would not list the Web sites' name.
i.e:

Server
Default web site
Administration web site
website1.ve
website3.com

Any suggestions are much appreciated.


Solution : - 
You may use Script for that


OPTION EXPLICIT

DIM strServer, strServerType, strServerMetaType
DIM objService

strServer = "localhost"
strServerType = "Web"
strServerMetaType = "W3SVC"

IF WScript.Arguments.Length >= 1 THEN
    strServer = WScript.Arguments( 0 )
END IF

IF WScript.Arguments.Length = 2 THEN
    strServerType = WScript.Arguments( 1 )

    IF UCASE( strServerType ) = "FTP" THEN
        strServerType = "Ftp"
        strServerMetaType = "MSFTPSVC"
    ELSE
        strServerType = "Web"
        strServerMetaType = "W3SVC"
    END IF
END IF

WScript.Echo "Enumerating " & strServerType & "sites on " & strServer & VbCrLf
SET objService = GetObject( "IIS://" & strServer & "/" & strServerMetaType )
EnumServersites objService


SUB EnumServersites( objService )
    DIM objServer, strBindings

    FOR EACH objServer IN objService
        IF objServer.Class = "IIs" & strServerType & "Server" THEN
            WScript.Echo _
                "Site ID = " & objServer.Name & VbCrLf & _
                "Comment = """ & objServer.ServerComment & """ " & VbCrLf & _
                "State   = " & State2Desc( objServer.ServerState ) & VbCrLf & _
                "LogDir  = " & objServer.LogFileDirectory & _
                ""

            ' Enumerate the HTTP bindings (ServerBindings) and
            ' SSL bindings (SecureBindings) for HTTPS only
            strBindings = EnumBindings( objServer.ServerBindings )

            IF strServerType = "Web" THEN
                strBindings = strBindings & _
                EnumBindings( objServer.SecureBindings )
            END IF

            IF NOT strBindings = "" THEN
                WScript.Echo "IP Address" & VbTab & _
                             "Port" & VbTab & _
                             "Host" & VbCrLf & _
                             strBindings
            END IF
        END IF
    NEXT

END SUB

FUNCTION EnumBindings( objBindingList )
    DIM i, strIP, strPort, strHost
    DIM reBinding, reMatch, reMatches
    SET reBinding = NEW RegExp
    reBinding.Pattern = "([^:]*):([^:]*):(.*)"

    FOR i = LBOUND( objBindingList ) TO UBOUND( objBindingList )
        ' objBindingList( i ) is a string looking like IP:Port:Host
        SET reMatches = reBinding.Execute( objBindingList( i ) )
        FOR EACH reMatch in reMatches
            strIP = reMatch.SubMatches( 0 )
            strPort = reMatch.SubMatches( 1 )
            strHost = reMatch.SubMatches( 2 )

            ' Do some pretty processing
            IF strIP = "" THEN strIP = "All Unassigned"
            IF strHost = "" THEN strHost = "*"
            IF LEN( strIP ) < 8 THEN strIP = strIP & VbTab

            EnumBindings = EnumBindings & _
                           strIP & VbTab & _
                           strPort & VbTab & _
                           strHost & VbTab & _
                           ""
        NEXT

        EnumBindings = EnumBindings & VbCrLf
    NEXT

END FUNCTION

FUNCTION State2Desc( nState )
    SELECT CASE nState
    CASE 1
        State2Desc = "Starting (MD_SERVER_STATE_STARTING)"
    CASE 2
        State2Desc = "Started (MD_SERVER_STATE_STARTED)"
    CASE 3
        State2Desc = "Stopping (MD_SERVER_STATE_STOPPING)"
    CASE 4
        State2Desc = "Stopped (MD_SERVER_STATE_STOPPED)"
    CASE 5
        State2Desc = "Pausing (MD_SERVER_STATE_PAUSING)"
    CASE 6
        State2Desc = "Paused (MD_SERVER_STATE_PAUSED)"
    CASE 7
        State2Desc = "Continuing (MD_SERVER_STATE_CONTINUING)"
    CASE ELSE
        State2Desc = "Unknown state"
    END SELECT


END FUNCTION

Tuesday, February 1, 2011

Title: Why are my user now being prompted for a login after Front Page Server Extensions were installed?

I have a development intranet server using windows authentication running on iis7.  Front Page server Extensions were install and then fully uninstalled. Now each time a users pulls up the main page they are prompted for a login.

How do I fix this?

Thank you.


Suggested Solution : - 
Please check the security permissions for the website. What security permissions are you using?
Only Anonymous  - It won't ask for login prompt
Basic Auth -> it will ask for login prompt
Integrated security auth -> if users are in same domain , it wont ask for login prompt

How is your server setup? Is it in domain? or standalone? Please review your security permissions.

Solution : - Web site -> properties -> Security ->  Select User group -> Advanced -> Select edit -> clicked “Replace all existing inheritable permissions on all descendants with inheritable permissions from this object” 
-> Apply  

Monday, January 31, 2011

Flex Remote Object to CFC with IIS Windows Authentication

I am building a flex application and using RemoteObject to connect to Coldfusion CFC's with access set to remote. Everytime I run the flex application and try to connect to the remoteobject IIS throws a 401 error. I have been researching and saw that it is possible to add a authentication header to a webservice call, but I can't figure out how to get a remoteobject call to pass credentials to IIS. Is it possible for flex to use RemoteObject to access a Coldfusion CFC behind IIS using Windows Authentication with anonymous turned off?

Solution : - Please see the code and examples given here :
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_4.html
It may help you.

How to improve IIS performance for an ASP.net application ?

 we have an ASP.NET application hosted on a IIS (windows 2008) R2(64-bit) server

1) Are there any parameters in IIS which needs to be tweaked to get the optimal performance
   from IIS ?

2) Is there any tool in IIS which would tell if the performance bottle neck of the ASP.NET web
    application is because IIS ?

3) Is there any memory/parameter setting in Windows server which would allocated more
    memory for IIS ? ( IIS exe process )


Solution : - 
1) Are there any parameters in IIS which needs to be tweaked to get the optimal performance  from IIS ?
>>> To optimize IIS performance   : http://technet.microsoft.com/en-us/library/cc770381%28WS.10%29.aspx
2) Is there any tool in IIS which would tell if the performance bottle neck of the ASP.NET web application is because IIS ?
>>> Performance counters for IIS 7
http://blogs.iis.net/mailant/archive/2008/01/10/new-worker-process-performance-counters-in-iis7.aspx
For .net debugging see here
http://blogs.msdn.com/b/tess/archive/2008/02/04/net-debugging-demos-information-and-setup-instructions.aspx
3) Is there any memory/parameter setting in Windows server which would allocated more memory for IIS ? ( IIS exe process )
You can create multiple page files in your server so that IIS will allocate memory. Also see the application pools configuration to allow available memory.
http://technet.microsoft.com/en-us/library/cc725749%28WS.10%29.aspx
http://technet.microsoft.com/en-us/library/cc732519%28WS.10%29.aspx

I hope this will help.



**** AS IS **** ; Please apply at your own risk.

Friday, January 28, 2011

Retrieve site name from host name IIS7

hi,
we have an internal website (https://intranet) running on IIS7. It is basically redirected to another site.
but i am not able to find the site name in IIS manager. how can i do it?

Please advice

thanks


Solution: -  
On  command prompt type : "iisweb /query" and press enter, It will list all of the websites and the hostnames for those website.
It should be in \system32 , Also You can try "appcmd list site" eg., appcmd list site /bindings:http/*:80: 

Thursday, January 27, 2011

Index Directories

A couple of questions:

a) Can anyone tell me what in terms of a web applications are “indexable directories”?, And in IIS 1) how and 2) why would an admin set up indexable directories? Are these the index of type pages where you can see each and every page or resource in that directory? I.e. http://www.ibiblio.org/pub/ or http://museum.php.net/

b) And also, in an asp.net app hosted on IIS, sometimes I will see \\server\app\login.aspx for a specific page, and other apps I just see \\server\app no full path to the login *.aspx file? Any reason for this, is it a security countermeasure people use, how is it configured in IIS, or is there anyway in the browser to still see the full path and subsequently which page we are working with?


Solution: - Indexing What : - Just one page article http://msdn.microsoft.com/en-us/library/ms692947%28v=vs.85%29.aspx
How : - Install indexing service from Add/remove , Create new Index add directories to it which should be directory of your website content and also provide the path to save the Indexed document report.

Errors me that the Frontpage Extension is not in the server.



IIS 6.0 with Window Server 2003
Question: Fresh installation Window Server 2003 with IIS 6 and ASP.net 2.0
Frontpage Extension Installation as well. When I tried to remote access
the asp.net website, it still errors me that the Frontpage Extension is not
in the server.

Any ideas what I should do next?

Solution : - start -> run -> Appwiz.cpl ->  Add / remove Windows component -> Select Application Server  Click Details  -> Internet Information Service  click details ->  check "Front page 2002 server extension"

Click ok -> ok and it will be installed.

Post installation see if it needs any extension to allow under IIS -> web service extension.

Locate Web Server

Question : -

I’ve installed Microsoft Visual Web Development 2010 Experts, but not sure how to locate the web server. I’m intent to upload few medai file into this server. Hope Expert can guide me.


Solution : -
http://msdn.microsoft.com/en-us/library/ms178108.aspx
But I would prefer to publish files to local folder and then copy those files to web server.

flash media server or red 5

Question :  - We plan to deploy a video whicth will be watched 1m+ user and we want to protect it from stoling so which one should we use , and how we protect the file. We will close all the ports except http do you have any advice

Solution : - You can get the comparison here :
http://askmeflash.com/article/10/comparison-wowza-vs-fms-vs-red5
Adobe Flash Media Interactive Server 4 is much better in media servers in terms of security though you can get more details about other flavors here
http://www.adobe.com/products/flashmediaserver/

Thursday, January 20, 2011

Count hits to a web page

Question : -  I need to know how many people are visiting a particular web page.  Our environment is setup where we have 3 servers on the web farm.  So that's 3 IISs.  What is the recommended way to get a cumulative count from the servers of the hits on a particular web page?

Solution : -
You should install log analyzer and read IIS using it. It will give you count hits per page. Also it will show many other useful reports.
http://www.weblogexpert.com/
There are many other tools for same, I commonly use this and prefer it because its free. This will give result for one server and so for others , You will get three report for each server. And you want hits for one particular page , you can add hits for that page from three reports . 

Tuesday, January 18, 2011

Lync Edge Server Configuration

The Lync Edge Server configuration is here:
  1. Create Edge configuration in Topology builder
  2. Define Internal IP for internal interface
  3. Define External IP and port 443 for Access Edge Interface and FQDN
  4. Define External IP and port 443 for Web Conferencing Interface and FQDN
  5. Define External IP and port 443 for A/V interface and FQDN
  6. Publish the topology
  7. export the topology export-cstopology -filename C:\EdgeSrvTopology.zip
  8. Install prerequisites on Edge Server
  9. Run setup.exe and choose install or update Lync Server system
  10.  Install Local Configuration Store choosing to import the configuration from the EdgeSrvTopology.zip file (copy it to the Edge server)
  11. Choose option 2 to Setup or Remove Lync Server Components
  12. Then request, install or assign Certificates (I generated a new access edge certificate because of the following in the RTM docs
To create a certificate request for the external interface of the Edge Server to support public IM connectivity with AOL
  1. When the required template is available to the CA, use the following Windows PowerShell cmdlet from at the Edge server to request the certificate:
     
    Request-CsCertificate -New -Type AccessEdgeExternal  -Output C:\  -ClientEku $true -Template 
    The default certificate name of the template provided in Lync Server 2010 is Web Server. Only enter the
    Note:
    If your organization wants to support public IM connectivity with AOL, you must use Windows PowerShell instead of the Certificate Wizard to request the certificate to be assigned to the external edge for the Access Edge service. This is because the Lync Server 2010 Web Server template that the Certificate Wizard uses to request a certificate does not support client EKU configuration. Before using Windows PowerShell to create the certificate, the CA administrator must create and deploy a new template that supports client EKU.

13.  Assign the certificates and then Step 4 is to start the services.
14.  If any of the services fail to start ensure that you have assigned all the correct IP addresses in the topology builder, if they are not correct the service will fail to bind to the IP address as it doesn’t exist.
15.  Here are some thing I did that caused some delay:
  • I failed to change the Site Federation route assignment for my site in topology builder to the new Lync RTM edge server.  The Edge deployment wizard will automatically associate the edge server with the edge pool for your Enterprise Server.  It will not set the federation box.  This will cause all of your contacts that you are federated with to show presence unknown
  • So after that everything should be good right NO!
  • You need to verify the users that are using federation are assigned the appropriate  External Access Policy in the user property page and that policy has the external compnents allowed or enabled
  • So at that point everything should be good right NO again!  I can now see my federated OCS 2007 R2/Lync contacts presence but no AOL, MSN, YAHOO!
  • Under External User Access in the Lync Server Control Panel you need under the provider tab you need to allow communication with the public provider by editing the properties and enabling them and choosing the appropriate type of verification level.
  • So at this point everything should be good right YES!
Tested and everything is working

****AS IS**** ; Please apply at your own risk.

Win 7 - Add Roles Services

How to Add Roles in Win7?

IIS Roles Services:
IIS ISAPIFilter role
IIS Windows Authentication role
CGI role


How?


Solution : -
You may check if feature is available on your Win7 , Here : -
http://technet.microsoft.com/en-in/library/cc753473%28en-us%29.aspx

also download RSAT packl and install it, you'll find everything needed .  

ASP.NET is not authorized to access the requested resource

Hi,

one of my clients have a external website running on a Microsoft SBS 2008 server where users can login and view PDF files. However after the administrator of the website has made some changes, users are now getting this error:

"Server Error in '/' Application.
--------------------------------------------------------------------------------

Access to the path '\\server01\salg\cash\dokumenter\techpeople_softwareudvikler m4ypatlsmye.pdf' is denied.
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.

Exception Details: System.UnauthorizedAccessException: Access to the path '\\server01\salg\cash\dokumenter\techpeople_softwareudvikler m4ypatlsmye.pdf' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Access to the path '\\server01\salg\cash\dokumenter\techpeople_softwareudvikler m4ypatlsmye.pdf' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10547331
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +89
   System.IO.File.OpenRead(String path) +55
   TechPeople.members.ShowAvailableJobFile.Page_Load(Object sender, EventArgs e) in C:\Users\Ole Frederiksen\Documents\Visual Studio 2010\Projects\TechPeople\cvLogin\members\ShowAvailableJobFile.aspx.cs:29
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209 "

I've been trying to find out which account it is that requires access but with no luck. Can someone please help me?

Thanks in advance,
Ronnie


Solution : - 
Are you using aspnet user for any specific reason? IIS6 onwards you should use " NETWORK Services " user account. Please change the identity of application pool to Network Service and restart the application pool.
If it does not help then please share the information about the Operating System's bit version and IIS version.
Please see that Read only permission is only for sharing permission for user everyone. It is safe and secure.a 

Launch permissions for COM services

I have been experiencing issues when running IIreset. Looks to me like I need to add my defaultAppPool to have launch permissions for the com service.
 I go to: Command prompt->dcomcnfg->component services->computers->right click on my computer->properties.
Go to COM security
Under launch and activation permissions, but I don’t have the option to add the defaultAPPPool to the security setting, only local accounts are available. Any suggestions? 


Solution 
There you can add users only. Probably you need to add the identity of defAppPool . Go to IIS -> Application Pools -> locate defAppPool right click -> properties -> Identity -> by default it is network service . If it is some other user , just note id down.

Go to Command prompt->dcomcnfg->component services->computers->right  click on my computer->properties.
Go to COM security
And add the user here . machineName\network service or machineName\Username

Monday, January 17, 2011

How to show Power Point PPS using Internet Explorer?

Hi,

I have a power point PPS presentation at my IIS server, and I let this file to download. I would like when someone download this presentation, it opens like a PPS presentation with animations, sounds etc... and not like PPT source file, at this moment the second options happens.

I searched over web and I found some links talking about this, and telling about the need to register in IIS PPS MIME extension, it has been done but even so the problem is still happening.

This problem just happens using Internet Explorer and with Office installed, using any other browser it will open fine.

Anyone knows a solution to this problem?

Thank you.

LINK WITH PROBLEM: http://www.ngo.com.br/docs/mensagem.pps


Solution : - 
it is sure you need to set Mime :
Value : - application/vnd.ms-powerpoint   And Extension - pps

Now , to open it with IE , Open windows explorer on your machine and click on Tools -> folder options  -> file Types -> Scroll it and locate PPS , You will see its mapped to Office package. You need to change it.
Select what you want "PPS" click on change , In New Window select IE. Click OK, OK and you are done. 

When you install MS Office on the operating system , binding of file types like .doc, .ppt, .pps, xsl, etc changes to default open with MS office. Now in your env. you have Office installed , so you need to change the binding and map it to IE. Wihtout doing so it will kept opening with MS Office.  

Thursday, January 13, 2011

How can I fix this Application event log error?

How can I fix this Application event log error?

Question: The Application event log on my Windows Server 2003 for Small Business Server SBS server is overrun with this one particular error (see the attached screenshots).

What do I need to do to fix this error (or prevent it from showing in the Application event log so that only legitimate errors and messages will display)?

Here is the exact error:

b3ddcb18-8730-48ed-bbde-f42e70d84992, 2010-12-27 3:54:50 PM, ERROR,  [
(TimerCallbackID = 2e9385c7-6d00-4cd1-81b8-bb55a64ed2a2)
(RecoveryAttemptNumber = 11401)
(DateWhenFirstErrorHappened = 12/27/2010 9:33:44 AM)
(ConfigCacheManagerID = a45c0ad2-5d57-4023-adf2-807a2f5f8e3f)
(CacheName = SoftwareUpdateServices_AppConfigSettings_ConfigCacheManager)
(Process Directory = c:\windows\system32\inetsrv)
(Web Path = NULL)
 An error happened in the timer Callback method: An exception happened when we were trying to check for modifications (or read settings) out of the config file. The callback will keep re-trying until it succeeds. ]  Exception_MESSAGE: (Couldn't find key [MSCOM/SoftwareUpdateServices/2.0/ConfigFilePath] in AppSettings . See method ConfigFileUtility.GetAppSettingValueOrThrow. )  Exception_SOURCE: (Microsoft.UpdateServices.Common)  Exception_STACKTRACE: (   at Microsoft.MSCOM.SoftwareUpdateServices.UniversalUtility.ConfigFileReader.GetAppSettingValueOrThrow(String sAppSettingKey)
   at Microsoft.MSCOM.SoftwareUpdateServices.UniversalUtility.ConfigFileReader.GetConfigFileModifiedDateTime(String sAppSettingKeyToConfigFilePath)
   at Microsoft.MSCOM.SoftwareUpdateServices.LocalUtility.MSComConfiguration.Microsoft.MSCOM.SoftwareUpdateServices.UniversalUtility.ICacheableConfigSettings.IsConfigFileModified()
   at Microsoft.MSCOM.SoftwareUpdateServices.UniversalUtility.ConfigCacheManager.CallBackForExpiredTime(Object oState))

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.




Solution : - 
First try my above suggested solution, incase that does not work, then you will need to reinstall it :
Steps are Here : -
How to manually remove all of WSUS
http://blogs.technet.com/sus/archive/2008/11/05/how-to-manually-remove-all-of-wsus.aspx

In addition to the Blog above you may also need to remove the "Windows internal Database"


To uninstall Windows Internal Database
Open a command shell.

Call msiexec with the correct key for the operating system platform.

On 32-bit platforms: msiexec /x {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} callerid=ocsetup.exe

On 64-bit platforms: msiexec /x {BDD79957-5801-4A2D-B09E-852E7FA64D01} callerid=ocsetup.exe


Then if you decide to reinstall

http://technet.microsoft.com/en-us/library/cc708091%28WS.10%29.aspx

http://blogs.microsoft.co.il/blogs/yanivf/archive/2007/09/23/install-wsus-3-0-step-by-step.aspx