Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

saud_a_k

@saud_a_k
About
Posts
181
Topics
68
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • getting the 'Could not load the assembly' error for only one section of the asp.net project
    S saud_a_k

    I have a big .net web application hosted on the server, it was working fine until I tried to share the solution folder by giving permissions to a user. In the process I might have messed up permissions After this, the whole solution stopped working, then I gave 'Everyone' the access permissions to the project folder, then the project started working but one folder has some aspx files, and when I click on the link that opens them, It gives me the

    Could not load the assembly 'xxx'. Make sure that it is compiled before accessing the page

    I tried everything from replacing old compiled version of this folder. And before you ask, this folder does not have its own web.config file. I have checked all the permissions and re-assigned them, I have also check the IIS (5) to have the v2 asp.net framework, I have tried the aspnet_regiis -i command to re-install asp.net , I also created a new application pool for this project But in Vain I can't get the problem :confused: Please help me UPDATE I copied the whole solution to another location, created a new virtual directory and it worked But the permissions on the folder are still screwed I cannot rename the folder now, the reason is, I created a new folder called project_bkup now after it works I want to rename it to project, but its not allowing me :confused: I cannot get to the botton of this Please help

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET help asp-net announcement csharp dotnet

  • using WorkFlow.asmx to Complete a workflow
    S saud_a_k

    I want to use workflow.asmx to modify a workflow The AlterToDo method should be used according to http://msdn.microsoft.com/en-us/library/cc296356.aspx[^] but not very clear.. I have used lists.asmx to retrieve the task lists, after I get the Id, I want to use the AlterToDo to modify the tsk workflow. What are the parameters to be used here Some start will be really helpful. Thanks

    _____________________________________________________ Yea! I could be wrong...

    SharePoint com workspace

  • Re-Run validations on IfoPath form opened from SharePoint Library
    S saud_a_k

    I have a fairly simple infopath form 2 textboxes field1 has username() function (it shows the current user using the username function) field2 checks the field1 and enables or disables it depending on the username field2 has formatting rule (InfoPath 2010) if field1 not equal to "system" then disable control I Submit to the form library & publish this form (web enabled) It works fine I login using any user , then the field2 is disabled (ok) Now, when I submit its fine. Then when I login as 'system' and open the form I submitted I was expecting field2 to be enabled! but its not I have an Idea as to what might be happening: The value in filed1 is not changed when I open an existing form form if this works, then I have to compare field1 with a SharePoint list of usernames Please Help

    _____________________________________________________ Yea! I could be wrong...

    SharePoint sharepoint help

  • Popup from Web part has does not inherit permissions
    S saud_a_k

    yes I checked google and MSDN before posting Hi A web part is on SharePoint That has a link to an ASPX page that opens in a new window. If I login as System , it shows the page (I mean the popup window) but one I login as a user it gives me Access Denied error. Doesn't a popup become a part of the web part? Or is there a way to inherit the permissions?

    _____________________________________________________ Yea! I could be wrong...

    SharePoint sharepoint help question

  • SQL database works on IIS but not in client machines
    S saud_a_k

    Eddy Vluggen wrote:

    an account with given UserID (should be in the same place as the 'sa') allowed mixed mode access (not just Windows-authentication) whether the servers' name is correct (express versions are called different than full servers, and they might even be using a named instance)

    I checked all these options but I still get the same error I also gave the location of another server but still the page shows up on the server but not on the client

    _____________________________________________________ Yea! I could be wrong...

    Database database csharp asp-net sql-server sysadmin

  • SQL database works on IIS but not in client machines
    S saud_a_k

    I do not have the code for this application it uses an XML file where i have to give the connection details like <Connection Name="Provider" Value="1" /> <Connection Name="Server" Value="server" /> <Connection Name="Database" Value="db" /> <Connection Name="UserID" Value="user" /> <Connection Name="Password" Value="pwd" /> I do not know how the application uses this is it a connection problem then so it should not work on the server I think...

    _____________________________________________________ Yea! I could be wrong...

    Database database csharp asp-net sql-server sysadmin

  • SQL database works on IIS but not in client machines
    S saud_a_k

    I have a ASP.NET website it is hosted on IIS 5 and it works fine' I can browse from IIS console itself but when I open the same in another client machine, I see the page but no database it says [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. I checked the named pipes and tcp/ip on sql server and all the permissions are enabled' I cant find why it shows up on the server but not on the client plz hlp

    _____________________________________________________ Yea! I could be wrong...

    Database database csharp asp-net sql-server sysadmin

  • RadioButton not firing CheckChanged
    S saud_a_k

    I have created 5 RadioButtons dynamically on 5 place holders They are created on the click on another button i.e. not on the PageLoad event I have added a handler for each of them like: rad1.CheckedChanged += new EventHandler(rad_CheckedChanged); rad2.CheckedChanged += new EventHandler(rad_CheckedChanged); ... Same event handler for all The controls render fine, but when I check them all the control disappear and the checkedchanged event is not fired. I read somewhere that they need to be created on the pageload event. But the need to be created on an event after the pageload. plz hlp.

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET

  • pdf in iframe
    S saud_a_k

    Thanx but it still does NOT show. I even tried making a html file with the iframe code and tried opening it in the main inframe it still does not show! Please try this.... I think its wierd create a simple html file that displays a pdf file in an iframe include the file as a part of the project on VS (i use 2005) now right click in the solution explorer and >> view in browser does it show? it doesn't for me.

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET html help

  • pdf in iframe
    S saud_a_k

    The server and client are the same machine I also used: string myfile = AppDomain.CurrentDomain.BaseDirectory+"\\310001.pdf"; litShow.Text = ""; the file is in my bin folder, but I still cant see the file :(

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET html help

  • pdf in iframe
    S saud_a_k

    yes I do get the html code on 'view source' but the file is not displayed I tried with many files... Same result :( here is the html source

    _____________________________________________________ Yea! I could be wrong...

    modified on Sunday, January 18, 2009 8:32 AM

    ASP.NET html help

  • pdf in iframe
    S saud_a_k

    I can view a pdf document in html like: but when I put the same come to be dynamically written on a literal control on a button click like: protected void Button1_Click(object sender, EventArgs e) { litShow.Text = ""; } the pdf file is not displayed plz help

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET html help

  • subscript and superscript in textbox
    S saud_a_k

    I know how to enter special characters with the alt key like alt + 07965 ... and all Now I want to enter subscripts or suberscript are there alt + ... codes for subscripts? I cant use the same ... tags in a textbox... please help _____________________________________________________ Yea! I could be wrong...

    ASP.NET help tutorial question

  • Special characters in textbox
    S saud_a_k

    Thanx man it worked, I dont mid enterin © and i also foun this http://www.usefulshortcuts.com/downloads/ALT-Codes.pdf[^]

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET question xml

  • Special characters in textbox
    S saud_a_k

    I tried that ,, it doesn't work! :(

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET question xml

  • Special characters in textbox
    S saud_a_k

    How do I put special chars like micro, copyright etc. and superscripts or subscripts I have a textbox on a webform after submission, I save the text present on an XML file, I tried decoding each speciaal character to its number form like micro = µ and all but I cannot code characters everytime I enter text, and the .... doesn't work even if I copy from a word document, and paste, It doesn't work How do I go about it? _____________________________________________________ Yea! I could be wrong...

    ASP.NET question xml

  • iframe src from code
    S saud_a_k

    Hi, Sorry if this is asked already, I am doing... button_Click(...) { literal1.Text=""; } This works fine on my local machine wen I run is from VS I cannot get the page when I put this on a local server, Should I change the URL in any way? I tried using literal1.Text=""; But no result, This one is real easy for you guys, Please help.

    _____________________________________________________ Yea! I could be wrong...

    ASP.NET visual-studio sysadmin help question

  • 3D mark 2006
    S saud_a_k

    Rhys666 wrote:

    Psycho-*Coder*-Extreme wrote: I have an NVIDIA GeForce 8800GTS Wee, thats just showing off

    Id do too If I had one... But Im talking about a laptop, Anyone use a laptop for gaming?

    _____________________________________________________ Yea! I could be wrong...

    The Lounge question

  • 3D mark 2006
    S saud_a_k

    Hi, If I have to run 3D mark 2006 on a laptop - with a graphic card, (before I buy it) what is a good or optimum score needed to run games like doom3, HL2, F.E.A.R and the like?

    _____________________________________________________ Yea! I could be wrong...

    The Lounge question

  • Append new node to XML file
    S saud_a_k

    I'm sorry I posted only the function of creating one node... I grabbed code from www.kirupa.com , all of it is here..

    private XmlDocument xmlDoc = new XmlDocument();
    private XmlElement booksElement;

    private void AddBook(string ISBN, string title, string author)
    {

    //
    // Initialize booksElement if you are adding your first book.
    //
    if (booksElement == null)
    {

    booksElement = xmlDoc.CreateElement("Books");

    }

    XmlElement bookElement = xmlDoc.CreateElement("Book");

    XmlAttribute bookAttribute = xmlDoc.CreateAttribute("ISBN");
    bookElement.SetAttributeNode(bookAttribute);
    bookAttribute.Value = ISBN;

    XmlElement titleElement = xmlDoc.CreateElement("title");
    titleElement.InnerText = title;
    bookElement.AppendChild(titleElement);

    XmlElement authorElement = xmlDoc.CreateElement("author");
    authorElement.InnerText = author;
    bookElement.AppendChild(authorElement);

    booksElement.AppendChild(bookElement);

    }

    private void WriteToDisk(string path)
    {

    // Add the booksElement to our root element and write to disk
    xmlDoc.AppendChild(booksElement);
    xmlDoc.Save(path);

    }

    static void Main(string[] args)
    {

    Program bookList = new Program();

    bookList.AddBook("0553212419", "Sherlock Holmes: Complete Novels and Stories, Vol 1", "Sir Arthur Conan Doyle");
    bookList.AddBook("0743273567", "The Great Gatsby", "F. Scott Fitzgerald");
    bookList.AddBook("0684826976", "Undaunted Courage", "Stephen E. Ambrose");
    bookList.AddBook("0743203178", "Nothing Like It In the World", "Stephen E. Ambrose");

    bookList.WriteToDisk(@"C:\books.xml");

    }

    So you see this creates a file OK.... But If I cannot ue this function to Append to the saved books.xml file. meanwhile, I try the SelectSingleNode, and see if it works.

    _____________________________________________________ Yea! I could be wrong...

    C# question xml tutorial learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups