Naz18

I have visual C++ 2005 edition and It won't let me create a new project. I choose a empty project and I get this error: "Automation server can't create object"

Now i've searced around a bit and I found that my scrprit might be corrupted, but I have downloaded it and it still won't work. This is the link to common answer people gave: http://support.microsoft.com/kb/323885

I've also tried reinstalling many times and still get the same message.

So I would really like to know why I can't create a new project and any suggestions on how to fix this.



Re: Visual C++ Express Edition Automation server can't create object

Naz18

Please I need help...



Re: Visual C++ Express Edition Automation server can't create object

acafcrs

I have same problem with VS 2003 and I also install Microsoft Scrip 5.6 but I haven't any luck.




Re: Visual C++ Express Edition Automation server can't create object

Damien Watkins - MSFT

Hello

These must be something wrong with your machines/software configuration/setup, can you try installing on another machine

Thanks

Damien






Re: Visual C++ Express Edition Automation server can't create object

Naz18

bump



Re: Visual C++ Express Edition Automation server can't create object

JudyinFL

I hope you have figured out your problem by now. I can't believe that Microsoft hasn't put a fix out there now that they know what is going on. Anyway, the problem is that the Scripting.FileSystemObject registry key does not have an owner assigned. From the command prompt, go to regedit and try to access it. If it tells you that you can't access it but you can change the permissions on it; don't believe that. You have to go to Advanced and find out that there is no owner assigned. Change the owner to Administrator (make sure to CheckNames). You'll also have to change the CLSID key in the same manner. Also, there are two other keys that I wasn't able to access: Scripting.Dictionary and Scripting.Encode. They didn't seem to affect creating projects in Visual Studio.NET but who knows what else was affected

I don't know what the cause of this problem was but it wasn't my doing. I hope Microsoft is working on it...

Hope you're up and running again. Very frustrating, isn't it

Judy





Re: Visual C++ Express Edition Automation server can't create object

fro_beaver

Thanks, Judy, that worked a treat.

A note to others, the key to change is located at HKEY_CLASSES_ROOT\Scripting.FileSystemObject, but there are so many other keys cluttering the place up that it is better to just search for it (CTRL-F).

Also, the second key to alter (CLSID) is a subkey of the first, although for me, it didn't appear until I ran Visual C++ Express again after fixing the first key.

Anyway, thanks again.





Re: Visual C++ Express Edition Automation server can't create object

f0rce1001

Greetings,
I have the same problem here, it just came out of nowhere. Neither of these solutions described above worked. I changed the permission when I saw that I didn't have an owner but still nothing. I still get the error message "Automation server can't create object" when I try to create a new project on Visual Studio 2003 or even add new item to an existing project. Each time I try it happens one and the same: Automation server can't create object





Re: Visual C++ Express Edition Automation server can't create object

.NetGuru

Hello
I have the same problem here. I get the error message "Automation server can't create object" when I try to create a new project on Visual Studio 2003 or even add new item to an existing project. Each time I try it happens one and the same: Automation server can't create object




Re: Visual C++ Express Edition Automation server can't create object

Naz18

why hasn't Microsoft fixed this issue or help us actually resolve the issue....





Re: Visual C++ Express Edition Automation server can't create object

Naz18

Bump




Re: Visual C++ Express Edition Automation server can't create object

m_karadas

Thanks a lot. I really appreciate your help.

I've searched lots of web pages to find a solution to the problem I've encountered with MS Access 2000. The code was failing on the line

Set fs = CreateObject("Scripting.FileSystemObject")

None of the methods I've found on the web including the one's on (http://support.microsoft.com/default.aspx scid=kb;EN-US;319841) solved the problem.

I did exactly what you said and at last the code is running now.

Thanks again......





Re: Visual C++ Express Edition Automation server can't create object

mosejas

I wish I had the same results. I've been trying to get this working for days. Not sure what to do. I've tried everything suggested and nothing works same error every time. I've even deleted the keys from the registry and file from my computer and re-installed the Microsoftí»s scripting. Ií»ve even gone as far as turning off my virus protection. Nothing works. I desperately need this to work for a project Ií»m working on.

I can do a create object on the server side, just not through JavaScript. This is the craziest thing Ií»ve ever seen.





Re: Visual C++ Express Edition Automation server can't create object

Dyska

Hey people. I've just come back to this problem on my old laptop from a year ago. Some background... I changed job and the new IT guy "indoctrinated" my laptop to the new company. This meant installing anti-virus (aka: system slowdown software) and other *** on my machine. He also connected me to the domain, set me up with a domain account and DELETED the ADMINISTRATOR account from the box. Since I had installed my WindowsXP and Visual Studio.Net using the Administrator account I think that's what had stuffed up the keys.

There are three keys, In my case I found I needed to fix the owner and permissions on all three.

Each key must be done as follows:

1. open regedit

2. find key

3. right click and go permissions, ignore all the errors

4. go to advanced under the permissions, and set the owner of the object to the Administrators GROUP

5. apply and ok till the window closes

6. right click the key again and go permissions

7. grant system all permissions...

now i'm not sure whether this is such a smart idea for people working in secure environments, but I also granted "everyone" users full access rights to the key

8. ok apply and ok till the window closes

9. make sure the key is selected

10. refresh (F5 or via menu)

11. repeat steps 3 to 10 on the sub key

12. repeat steps 1 to 11 on each of the two remaining keys

3 keys in my case were

1. HKEY_CLASSES_ROOT -> Scripting.FileSystemObject

2. HKEY_CLASSES_ROOT -> Scripting.Dictionary

3. HKEY_CLASSES_ROOT -> Scripting.Encoder

hope this helps, and happy new year everyone.






Re: Visual C++ Express Edition Automation server can't create object

newatthis56

I don't have this file. I check my other computer and found it but it seems to be missing. What now