0 / 0 / 0
Регистрация: 19.09.2011
Сообщений: 78
1

Страница выдает ошибку - Ошибка выполнения Microsoft JScript: 'undefined' - есть null или не является объектом

18.01.2012, 02:00. Показов 7614. Ответов 6
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
страница выдает ошибку - Ошибка выполнения Microsoft JScript: 'undefined' - есть null или не является объектом
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UploadAvatar.aspx.cs" Inherits="Web.Profiles.UploadAvatar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../Scripts/crooper/lib/prototype.js" language="javascript"></script>
    <script type="text/javascript" src="../Scripts/crooper/lib/scriptaculous.js?load=effects,builder,dragdrop"
        language="javascript"></script>
    <script type="text/javascript" src="../Scripts/crooper/cropper.js" language="javascript"></script>
    <script type="text/javascript">
        function onEndCrop(coords, dimensions) {
            $('x1').value = coords.x1;   <-----ОШИБКА!!!!
            $('y1').value = coords.y1;
            $('x2').value = coords.x2;
            $('y2').value = coords.y2;
            $('width').value = dimensions.width;
            $('height').value = dimensions.height;
        }
 
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navigationPH" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="leftMenuPH" runat="server">
    <ul id="Head1">
    <li><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="Profile.aspx">Profile</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="Default.aspx">Friends</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="Default.aspx">Messages</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="UploadAvatar.aspx">Upload Avatar</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="ManageProfile.aspx">Manage your profile</asp:HyperLink></li>
  </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="contentPH" runat="server">
    <asp:Panel ID="pnlUpload" runat="server" Visible="true">
        <div>
        <fieldset>
            <div>
                Upload an avatar</div>
            <table width="100%">
                <tr>
                    <td style="width: 205px;">
                        <div style="width: 200px; height: 200px; border: solid 1px #000000; padding: 5px;">
                            Avatars can be displayed as large as 200x200 pixels (<i>the size of this box</i>).
                            It is suggested that you do not upload anything smaller or larger than this, as
                            it might stretch/shrink a bit and not look as nice as you had hoped!
                        </div>
                    </td>
                    <td valign="top">
                        <div style="padding: 5px; float: left;">
                            Avatar Path:
                        </div>
                        <br />
                        <asp:FileUpload Width="270px" Size="28" ID="fuAvatarUpload" runat="server" />
                        <p />
                        <table width="100%">
                            <tr align="right">
                                <td>
                                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />
                                </td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;">
                                    <asp:Label ForeColor="Red" ID="lblMessage" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <p />
                    </td>
                </tr>
            </table>
        </fieldset>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlCrop" runat="server" Visible="false">
        <asp:HiddenField ID="hidX1" runat="server" />
        <asp:HiddenField ID="hidY1" runat="server" />
        <asp:HiddenField ID="hidX2" runat="server" />
        <asp:HiddenField ID="hidY2" runat="server" />
        <asp:HiddenField ID="hidWidth" runat="server" />
        <asp:HiddenField ID="hidHeight" runat="server" />
        <div>
            <fieldset>
            <div>
                <div>
                    <div style="width: 300px; height: 100px; float: left;">
                        <b>Now crop your avatar</b><br />
                        Images come in all shapes and sizes so we have provided you with a tool that will
                        allow you to select the section of your image that you would like to use for your
                        avatar.
                    </div>
                    <div id ="previewWrap"/>
                </div>
                <div>
                    <asp:Image ImageUrl="~/Images/ProfileAvatar/ProfileImage.aspx" ID="imgCropImage"
                        runat="server" />
                </div>
                <script type="text/javascript" language="javascript">
                    Event.observe(window, 'load', function () {
                        new Cropper.ImgWithPreview('contentPH_imgCropImage',
                        {
                            previewWrap: 'previewWrap',
                            minWidth: 100,
                            minHeight: 100,
                            ratioDim: { x: 100, y: 100 },
                            displayOnInit: true,
                            onEndCrop: onEndCrop
                        });
                    });
                </script>
                <div>
                    <asp:Button CssClass="SiteButton" ID="btnCrop" Text="Perform Crop" runat="server" OnClick="btnCrop_Click" />
                    <asp:Label ID="lblCropInfo" ForeColor="Red" runat="server"></asp:Label>
                </div>
            </div>
            </fieldset>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlApprove" runat="server" Visible="false">
        <div>
            <fieldset>
                <div>
                    Here is your shiny new avatar!</div>
                <div>
                    <asp:Image ID="Image1" ImageUrl="~/Images/ProfileAvatar/ProfileImage.aspx" runat="server" />
                </div>
                <div>
                    <asp:Button  ID="btnStartNew" runat="server" Text="Don't like it?" OnClick="btnStartNew_Click" />
                    <asp:Button  ID="btnComplete" runat="server" Text="I like it!" OnClick="btnComplete_Click" />
                </div>
            </fieldset>
        </div>
    </asp:Panel>
</asp:Content>

codebehind

C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
public partial class UploadAvatar : System.Web.UI.Page
    {
        private UserSessionComponent userSession=new UserSessionComponent();
        private RedirectorComponent redirector=new RedirectorComponent();
        private ProfileService profileService=new ProfileService();
        private DataAccessLayer.Profile profile;
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
 
        public void CropFile(Int32 X, Int32 Y, Int32 Width, Int32 Height)
        {
            //get byte array from profile
            byte[] imageBytes = profile.Avatar;
            //stuff this byte array into a memory stream
            using (MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
            {
                //write the memory stream out for use
                ms.Write(imageBytes, 0, imageBytes.Length);
 
                //stuff the memory stream into an image to work with
                System.Drawing.Image img = System.Drawing.Image.FromStream(ms, true);
 
                //create the destination (cropped) bitmap
                Bitmap bmpCropped = new Bitmap(200, 200);
 
                //create the graphics object to draw with
                Graphics g = Graphics.FromImage(bmpCropped);
 
                Rectangle rectDestination = new Rectangle(0, 0, bmpCropped.Width, bmpCropped.Height);
                Rectangle rectCropArea = new Rectangle(X, Y, Width, Height);
 
                //draw the rectCropArea of the original image to the rectDestination of bmpCropped
                g.DrawImage(img, rectDestination, rectCropArea, GraphicsUnit.Pixel);
 
                //release system resources
                g.Dispose();
 
                MemoryStream stream = new MemoryStream();
                bmpCropped.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg);
                Byte[] bytes = stream.ToArray();
 
                profile.Avatar = bytes;
                profileService.SaveProfile(profile);
            }
            ShowApprovePanel();
 
            
        }
 
        public void UploadFile(HttpPostedFile File)
        {
            string extension = Path.GetExtension(File.FileName).ToLower();
            string mimetype;
            byte[] uploadedImage = new byte[File.InputStream.Length];
            switch (extension)
            {
                case ".png":
                case ".jpg":
                case ".gif":
                    mimetype = File.ContentType;
                    break;
 
                default:
                    lblMessage.Text="We only accept .png, .jpg, and .gif!";
                    return;
            }
 
            if (File.ContentLength/1000 < 1000)
            {
                File.InputStream.Read(uploadedImage, 0, uploadedImage.Length);
                if (profile != null)
                {
                    profile.Avatar = uploadedImage;
                    profile.AvatarMimeType = mimetype;
                    profileService.SaveProfile(profile);
                    ShowCropPanel();
                }
            }
            else
            {
                lblMessage.Text =
                    "The file you uploaded is larger than the 1mb limit.  Please reduce the size of your file and try again.";
            }
        }
        public void ShowApprovePanel()
        {
            pnlCrop.Visible = false;
            pnlUpload.Visible = false;
            pnlApprove.Visible = true;
        }
 
        public void ShowUploadPanel()
        {
            pnlCrop.Visible = false;
            pnlUpload.Visible = true;
            pnlApprove.Visible = false;
        }
 
        public void ShowCropPanel()
        {
            pnlCrop.Visible = true;
            pnlUpload.Visible = false;
            pnlApprove.Visible = false;
        }
 
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            DataAccessLayer.Account account = userSession.CurrentUser;
            if (account != null)
                profile = profileService.LoadProfileByAccountId(account.AccountID);
            else
                redirector.GoToErrorPage();
            
            if(fuAvatarUpload.PostedFile != null || !string.IsNullOrEmpty(fuAvatarUpload.PostedFile.FileName))
            {
                UploadFile(fuAvatarUpload.PostedFile);
            }
 
            
        }
 
        protected void btnCrop_Click(object sender, EventArgs e)
        {
            DataAccessLayer.Account account = userSession.CurrentUser;
            if (account != null)
                profile = profileService.LoadProfileByAccountId(account.AccountID);
            else
                redirector.GoToErrorPage();
            CropFile(Convert.ToInt32((hidX1.Value)),
                Convert.ToInt32(hidY1.Value),
                Convert.ToInt32(hidWidth.Value),
                Convert.ToInt32(hidHeight.Value));<-----ОШИБКА приведения типа=/
        }
 
        protected void btnComplete_Click(object sender, EventArgs e)
        {
            redirector.GoToProfilesProfile();
        }
 
        protected void btnStartNew_Click(object sender, EventArgs e)
        {
            ShowUploadPanel();
        }
    }
подскажите пожалуйста как решить проблему??? использую JavaScript Image Cropper UI, built on Prototype & script.aculo.us
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
18.01.2012, 02:00
Ответы с готовыми решениями:

IE 8 и "undefined есть null или не является объектом" Win XP
Ставил крипто про, он при установке апгрейднул 7 ie до 8, и теперь при работе с сайтом одного...

options есть null или не является объектом
Всем доброго времени суток! Столкнулся с данной проблемой в IE. Во всех других браузерах скрипт...

IE ругается: 'есть NULL или не является объектом',
Хочу записать значение в поле формы, расположенной во фрейме 'top'....

'tagName' - есть null или не является объектом
Возникла проблема с IE8. Во всех других браузерах скрипт работает. Вот часть кода файла...

6
2734 / 2041 / 379
Регистрация: 22.07.2011
Сообщений: 7,731
18.01.2012, 05:20 2
contentPH_imgCropImage,x1,x2 и т.п откуда берутся ?
0
0 / 0 / 0
Регистрация: 19.09.2011
Сообщений: 78
18.01.2012, 13:17  [ТС] 3
asp.net такой ID выплевывает в html для фотографии которую загружаю(сопсна ID ContentPlaceHolder + ID Img)...делал вот по этой инструкции http://www.defusion.org.uk/cod... ptaculous/

Добавлено через 7 часов 49 минут
вверх!
0
2734 / 2041 / 379
Регистрация: 22.07.2011
Сообщений: 7,731
18.01.2012, 14:43 4
ясно, т.е обьекты x1,y2 создаются скриптом библиотеки.
А вот contentPH_imgCropImage ,судя по иерархии, должен выглядеть так:
contentPH_pnlCrop_imgCropImage, в общем я бы для надежности так написал:
Javascript
1
new Cropper.ImgWithPreview('<%=mgCropImage.ClientID %>',...
Добавлено через 1 минуту
Если ошибка тут
Javascript
1
$('x1').value = coords.x1;   <-----ОШИБКА!!!!
то либо $('x1') не находит, либо coords нулевые, пропиши там debugger;
1
0 / 0 / 0
Регистрация: 19.09.2011
Сообщений: 78
19.01.2012, 04:00  [ТС] 5
coords и dimensions не нулевые( но onloadCoords = null)

все равно выдает Ошибка выполнения Microsoft JScript: 'undefined' - есть null или не является объектом

Javascript
1
2
3
4
5
6
7
8
9
 new Cropper.ImgWithPreview('<%=imgCropImage.ClientID%>',
                        {
                            previewWrap: 'previewWrap',
                            minWidth: 100,
                            minHeight: 100,
                            ratioDim: { x: 100, y: 100 },
                            displayOnInit: true,
                            onEndCrop: onEndCrop
                        });
почему пишет, что Expression statement is not assignment or call ?
0
2734 / 2041 / 379
Регистрация: 22.07.2011
Сообщений: 7,731
19.01.2012, 04:11 6
Именно в том месте где ты указал ?, ну тут только один вариант убедиться что все обьекты в этой функции существуют.
З.Ы обычно браузерный отладчик показывает номер строки в js с ошибкой.

Добавлено через 6 минут
но onloadCoords = null
- а это откуда ?
В общем как обычно гадаем ), напиши номер строки ошибки в коде и ее полный текст, хотя думаю тогда тебе уже самому будет понятно в чем проблема...
1
0 / 0 / 0
Регистрация: 19.09.2011
Сообщений: 78
19.01.2012, 04:39  [ТС] 7
проблема решена

Добавлено через 7 минут
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="UploadAvatar.aspx.cs" Inherits="Web.Profiles.UploadAvatar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="../Scripts/crooper/lib/prototype.js" language="javascript"></script>
    <script type="text/javascript" src="../Scripts/crooper/lib/scriptaculous.js?load=effects,builder,dragdrop"
        language="javascript"></script>
    <script type="text/javascript" src="../Scripts/crooper/cropper.js" language="javascript"></script>
    <script type="text/javascript">
        function onEndCrop(coords, dimensions) {
            $('<%=x1.ClientID%>').value = coords.x1;
            $('<%=y1.ClientID%>').value = coords.y1;
            $('<%=x2.ClientID%>').value = coords.x2;
            $('<%=y2.ClientID%>').value = coords.y2;
            $('<%=width.ClientID%>').value = dimensions.width;
            $('<%=height.ClientID%>').value = dimensions.height;
        }
 
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navigationPH" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="statusPH" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="leftMenuPH" runat="server">
    <ul id="Ul1">
    <li><asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Profiles/Profile.aspx">Profile</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Friends/Default.aspx">Friends</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Profiles/Default.aspx">Messages</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Profiles/UploadAvatar.aspx">Upload Avatar</asp:HyperLink></li>
    <li><asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Profiles/ManageProfile.aspx">Manage your profile</asp:HyperLink></li>
  </ul>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="contentPH" runat="server">
    <asp:Panel ID="pnlUpload" runat="server" Visible="true">
        <div>
        <fieldset>
            <div>
                Upload an avatar</div>
            <table width="100%">
                <tr>
                    <td style="width: 205px;">
                        <div style="width: 200px; height: 200px; border: solid 1px #000000; padding: 5px;">
                            Avatars can be displayed as large as 200x200 pixels (<i>the size of this box</i>).
                            It is suggested that you do not upload anything smaller or larger than this, as
                            it might stretch/shrink a bit and not look as nice as you had hoped!
                        </div>
                    </td>
                    <td valign="top">
                        <div style="padding: 5px; float: left;">
                            Avatar Path:
                        </div>
                        <br />
                        <asp:FileUpload Width="270px" Size="28" ID="fuAvatarUpload" runat="server" />
                        <p />
                        <table width="100%">
                            <tr align="right">
                                <td>
                                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />
                                </td>
                            </tr>
                            <tr>
                                <td style="padding: 5px;">
                                    <asp:Label ForeColor="Red" ID="lblMessage" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <p />
                    </td>
                </tr>
            </table>
        </fieldset>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlCrop" runat="server" Visible="false">
        <input type="text" name="x1" id="x1" runat="server" style="visibility:hidden;"/>
        <input type="text" name="y1" id="y1" runat="server" style="visibility:hidden;"/>
        <input type="text" name="x2" id="x2" runat="server" style="visibility:hidden;"/>
        <input type="text" name="y2" id="y2" runat="server" style="visibility:hidden;"/>
        <input type="text" name="width" id="width" runat="server" style="visibility:hidden;"/>
        <input type="text" name="height" id="height" runat="server" style="visibility:hidden;"/>
        <div >
            <fieldset>
            <div>
                <div>
                    <div style="width: 300px; height: 100px; float: left;">
                        <b>Now crop your avatar</b><br />
                        Images come in all shapes and sizes so we have provided you with a tool that will
                        allow you to select the section of your image that you would like to use for your
                        avatar.
                    </div>
                    <div id="previewWrap">
                        
                    </div>
                </div>
                <div>
                    <asp:Image ImageUrl="~/Images/ProfileAvatar/ProfileImage.aspx" ID="imgCropImage"
                        runat="server" />
                </div>
                <script type="text/javascript" language="javascript">
                    Event.observe(window, 'load', function () {
                        new Cropper.ImgWithPreview('<%=imgCropImage.ClientID%>',
                        {
                            previewWrap: 'previewWrap',
                            minWidth: 100,
                            minHeight: 100,
                            maxWidth: 200,
                            maxHeight: 200,
                            ratioDim: { x: 100, y: 100 },
                            displayOnInit: true,
                            onEndCrop: onEndCrop
                        });
                    });
                </script>
                <div >
                    <asp:Button  ID="btnCrop" Text="Perform Crop" runat="server" OnClick="btnCrop_Click" />
                    <asp:Label ID="lblCropInfo" ForeColor="Red" runat="server"></asp:Label>
                </div>
            </div>
            </fieldset>
        </div>
    </asp:Panel>
    <asp:Panel ID="pnlApprove" runat="server" Visible="false">
        <div>
            <fieldset>
                <div>
                    Here is your shiny new avatar!</div>
                <div >
                    <asp:Image ID="Image1" ImageUrl="~/Images/ProfileAvatar/ProfileImage.aspx" runat="server" />
                </div>
                <div>
                    <asp:Button ID="btnStartNew" runat="server" Text="Don't like it?" OnClick="btnStartNew_Click" />
                    <asp:Button ID="btnComplete" runat="server" Text="I like it!" OnClick="btnComplete_Click" />
                </div>
            </fieldset>
        </div>
    </asp:Panel>
</asp:Content>

C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 protected void btnCrop_Click(object sender, EventArgs e)
        {
            DataAccessLayer.Account account = userSession.CurrentUser;
            if (account != null)
                profile = profileService.LoadProfileByAccountId(account.AccountID);
            else
                redirector.GoToErrorPage();
            int iWidth = Convert.ToInt16(width.Value);
            int iHeight = Convert.ToInt16(height.Value);
            int iX = Convert.ToInt16(x1.Value);
            int iY = Convert.ToInt16(y1.Value);
            CropFile(iX, iY, iWidth, iHeight);
        }
 
public void CropFile(Int32 X, Int32 Y, Int32 Width, Int32 Height)
        {
            //get byte array from profile
            byte[] imageBytes = profile.Avatar;
            //stuff this byte array into a memory stream
            using (MemoryStream ms = new MemoryStream(imageBytes, 0, imageBytes.Length))
            {
                //write the memory stream out for use
                ms.Write(imageBytes, 0, imageBytes.Length);
 
                //stuff the memory stream into an image to work with
                System.Drawing.Image img = System.Drawing.Image.FromStream(ms, true);
 
                //create the destination (cropped) bitmap
                Bitmap bmpCropped = new Bitmap(200, 200);
 
                //create the graphics object to draw with
                Graphics g = Graphics.FromImage(bmpCropped);
 
                Rectangle rectDestination = new Rectangle(0, 0, bmpCropped.Width, bmpCropped.Height);
                Rectangle rectCropArea = new Rectangle(X, Y, Width, Height);
 
                //draw the rectCropArea of the original image to the rectDestination of bmpCropped
                g.DrawImage(img, rectDestination, rectCropArea, GraphicsUnit.Pixel);
 
                //release system resources
                g.Dispose();
 
                MemoryStream stream = new MemoryStream();
                bmpCropped.Save(stream, System.Drawing.Imaging.ImageFormat.Jpeg);
                Byte[] bytes = stream.ToArray();
 
                profile.Avatar = bytes;
                profileService.SaveProfile(profile);
            }
            ShowApprovePanel();
 
            
        }
Спасибо за помощь
0
19.01.2012, 04:39
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
19.01.2012, 04:39
Помогаю со студенческими работами здесь

Ошибка выполнения Microsoft JScript: Недопустимый вызов или аргумент процедуры (RLE)
Пишу алгоритм RLE, но возникла ошибка C:\Users\ДНС\Documents\Урфу\скрипты\work\4)RLE\rle.js(35, 1)...

Null или не является объектом
при выполнении кода &lt;HTML&gt; &lt;HEAD&gt; &lt;h2 align=&quot;CENTER&quot;&gt;Результат решения нелинейного уравнения...

Исправить ошибку Undefined is not a function или can't read property of null
Блин, вот что в javascript'e намудрили. Во многих языках все нормально, но вот с ним вечно...

FileSystemObject ошибка: Ошибка выполнения Microsoft VBScript (0x800A01A8) Требуется объект: '[undefined]' /Sample1.asp, line 21
Привет! Подскажите в чем проблема! Этот код убивает папку, НО експлорер выдает ошибку , которая...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
7
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru