Hi dears, I am developing a web portal with ASP.NET 2.0 and c# my protal has several phases such as personal pages,magazine,shopping,news,... I want to make subdomain for each above subjects. Then I created a subdomain named "pages" in my host control panel to redirect any pages.mywebsite.com to mywebsite.com/pages/ address. when I upload my default.aspx file to pages subdirectory and visite pages.mywebsite.com/default.aspx "the resource is not found" error accurs. but when I upload any html file to pages subdirectory I can access any of them correctly . I realy don`t know what the problem is. kindly help me plz. ( sorry for my bad english)
amin_behzadi
Posts
-
Subdomain Problem -
How to Delete file on ServerHi dears, I have a website with ASP.NET 2.0 in my website each user has an album that can upload her photos on it. User should be able to delete images(my website i s hosted on my dedicated server).But its impossible. I did grant delete access for aspnet user to PhotoAlbum directory on server, but I can`t delete any file. the aspnet user in server is member of users group not administrators group. I want to know how can I fix this problem ?! thx for your help,
-
change owner of objectsHi dears, How can I change owner of all tables and stored procedures in my database? I know with executing stored procedure sp_changeobjectowner I can do it , but I don`t want to execute it for each table and sp, Thx for your help
modified on Wednesday, January 02, 2008 5:20:30 AM
-
Problem with UserControlHi Dears, I have using my UserControl inside an updatePanel. When I build my site on my pc everythings is ok. but when I want to publish website an error occures with this message: "Cannot create an object of 'System.Int32' from its string representation 'MyUsrCntrl' for the ID property." I realy don`t know what the problem is... thx 4 yr Help!
-
problem with UpdatePanel and PlaceHolderHi my dears, Im developing a website in VS2005, in one of my pages I have 3 UpdatePanels and in eache one I`ve used some server controls. In UpdatePanel1 I have a PlaceHolder server control that I add some Labels to it in runtime . When I run my website these labels will be added to PlaceHolder, but when I click some controls in other UpdatePanels the PlaceHolder in UpdatePanel1 loses all labels. can you help me to fix this problem ? Thx a lot my friends,
-
Problem with UpdatePanel and PlaceHolderHi my dears, I have several UpdatePanels in my page . and in one of them I used a PalceHolder to add some controls to it in run time . everything is good and when my page loads controls will be added to PlaceHolder but when I click any other controls in other UpdatePanels in my page the PlaceHolder loses its controls. pls help me know what to do ? Thx a lot,
-
How to save a Graphics object ...How can I do that , would you please explane more ? How can I save Graphics object with all changes in an image ? thx a lot for your help,
-
How to save a Graphics object ...Hi my dear friends. I want to write a text on an image and then save it to my server hard disk. then I could get help from this article but my question is how can I save the Graphics object into a image or bitmap and save it on my hard disk ? the code is :
Bitmap b = new Bitmap(Server.MapPath("images/test.jpg")); Graphics gimg = Graphics.FromImage(b); gimg.SmoothingMode = SmoothingMode.AntiAlias; gimg.DrawString("my text", new Font("San Serif", 12, FontStyle.Bold), SystemBrushes.WindowText, new Point100,100),StringFormat.GenericTypographic); gimg.DrawImage((System.Drawing.Image)b2, new Point(0, 0)); Response.ContentType = "image/jpeg"; b.Save(Response.OutputStream, ImageFormat.Jpeg); gimg.Dispose(); b.Dispose();
I dont want to write the new image in the browser . I just want to save it in a image file. How can I fix it? -
problem with IISI did it , and the error "Login failed for user 'myName\ASPNET' " appeared, I did grant full permissions to ASPNET user for website directory and tested both "windows integrity" and "SQL Server integrity" settings in IIS . but still the error is shown ...
-
problem with IISof course I did run aspnet_regiis.exe I can brows website and can see my page layout but no data from database shown in webpage...
-
problem with IISif I catch the error no message occured but when I do not catch the code I just see "the page can not be displayed...!" message.
-
problem with IISHi dears, I want to test my website on my workgroup network . Then I created a virtual directory in IIS and could brows website from another pc correctly. but it has a big problem . the website is not enable to connect to SQL database. How can I fix it ? thx a lot,
-
something like Google Book ...Hi dears, I want to show some books or articles in my website like Google Book service ( not exactly), but users must not have permission to copy images from book pages . Do you have any idea or any information about that ? thx,
-
Publishing website problem ...you can see that it answered by a honorable friend "Paddy Boyd".
-
Publishing website problem ...Hi my dear friends, We know when we publish a web site by VS .NET default settings, many dlls generates with random names and add a element to page directive wich refers to the particular dll file. When we change a code line in a file and recompiling web site all dll names changes and we have to upload all of dlls . Now , my question is How we can aviod this? Is there any way to uploading just one dll which we change its code ... ? "Sorry for my bad english :|"
-
Send MailHow we can find these variables and is there any refrence to check variables ?
-
Publishing a website ...Hi my dear friends, We know when we publish a web site by VS .NET default settings, many dlls generates with random names and add a element to page directive wich refers to the particular dll file. When we change a code line in a file and recompiling web site all dll names changes and we have to upload all of dlls . Now , my question is How we can aviod this? Is there any way to uploading just one dll which we change its code ... ? "Sorry for my bad english ;)"
-
Encryption and Decryption of username and password in asp.nettake a look [herewww.behzadi.net
-
asp.net Calendar source code in C#I need source code to change somethings. I want to create a calendar with Shamsi(persian) date format, so I have to make some changes in calendar source code....
-
asp.net Calendar source code in C#I looked for an asp.net calendar control source code , not codes to how get date from a calendar ....